Skip to content
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

Correctly handle joining scoped associations with table aliases. #14712

Closed

Conversation

al2o3cr
Copy link
Contributor

@al2o3cr al2o3cr commented Apr 11, 2014

Backport of #14154 to 4-0-stable.

/cc @abstractcoder - this fixes #12770 for 4.0.x
/cc @tenderlove

@rafaelfranca
Copy link
Member

Could you add a CHANGELOG entry?

@al2o3cr
Copy link
Contributor Author

al2o3cr commented Apr 11, 2014

@rafaelfranca - didn't have one for the patch to 4-1-stable, but I'll write something up.

@al2o3cr
Copy link
Contributor Author

al2o3cr commented Apr 18, 2014

@rafaelfranca I added a CHANGELOG entry.

@chancancode
Copy link
Member

Merged in 4262797 👍

@al2o3cr If you have time, can you investigate whether we need this for the https://github.com/lcreid/rails/blob/master/activerecord/lib/active_record/scoping/default.rb#L100 branch as well? 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants