Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [b8153fd5a18441567f787a33ca882acb3bb5088a] by Jon Leighton

Revision b8153fd5a18441567f787a33ca882acb3bb5088a, committed by Jon Leighton · December 20th, 2010 @ 09:56 PM

Fix problem where wrong keys are used in JoinAssociation when an association goes :through a belongs_to [#2801 state:resolved]
https://github.com/rails/rails/commit/b8153fd5a18441567f787a33ca882...

5 changed files

  • M activerecord/lib/active_record/associations/class_methods/join_dependency/join_association.rb
  • M activerecord/lib/active_record/reflection.rb
  • M activerecord/test/cases/associations/has_many_through_associations_test.rb
  • M activerecord/test/cases/reflection_test.rb
  • M activerecord/test/models/post.rb