Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Querying a joined table doesn't work if the table name and model name differ #82
This query should work but it throws an error:
The source of the error seems to be that at line
If you use the same string for table name and model name such a query works OK.
Also a simpler queries, which are not joining the action_type table work OK:
Following is a complete script that reproduces the behaviour:
@jaroslav-muller: Hello, I'm a repo bot-- nice to meet you!
It has been 30 days since there have been any updates or new comments on this page. If this issue has been resolved, feel free to disregard the rest of this message and simply close the issue if possible. On the other hand, if you are still waiting on a patch, please post a comment to keep the thread alive (with any new information you can provide).
If no further activity occurs on this thread within the next 3 days, the issue will automatically be closed.
Thanks so much for your help!