Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't remove the select values to add they back again
Conflicts: activerecord/lib/active_record/relation/finder_methods.rb
- Loading branch information
ab9475b
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.
@rafaelfranca I had this before too, but this test fails in mysql. Moving the select_values to the end fixes it.
ab9475b
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.
Thank you for pointing. I'll investigate
ab9475b
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.
Sure, if I remember correctly, it was because of the aliases and the way mysql interprets the query string.
Looking forward to seeing your fix.
Thanks!