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.

There was a problem

You must be a member of this account.

This project is archived and is in readonly mode.

Changeset [e4b384222c303414c42d92c67acdc87385c49c92] by Jon Leighton

Revision e4b384222c303414c42d92c67acdc87385c49c92, committed by Jon Leighton · December 23rd, 2010 @ 03:46 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/e4b384222c303414c42d92c67acdc...

5 changed files

  • M activerecord/lib/active_record/associations.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