-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed generated SQL for tagged_with :any #570
Conversation
Thank you. Now the tests are failing. |
Agree, it's not good but I needed an urgent fix, maybe later I'll take a look at the tests |
Fixed wrong merging, now two tests failing:
|
group = "#{table_name}.#{primary_key}" | ||
select_clause << group | ||
end | ||
conditions << "EXISTS (#{tagging_cond})" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That work only in PG .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What exactly doesn't work and in which DB? Can you provide the error message, or something more specific
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nevermind, i used the wrong database. Sorry.
If the tests are invalid, we should remove/fix them, i think we can fix correct the api if we don't remove the feature. WDYT ? cc @bf4 |
@stiff can you squash your commits ? ping me when it done. |
Done |
Fixed generated SQL for tagged_with :any
Thank you |
Fixed generated SQL for tagged_with :any
Closes #519.