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 [95e1cf4812d4b964d7ab0fdf4bfa31177d27909c] by Zach Dennis

Revision 95e1cf4812d4b964d7ab0fdf4bfa31177d27909c, committed by Zach Dennis · October 4th, 2008 @ 05:49 PM

Fix has_many :through when the source is a belongs_to association. [#323 state:resolved]

Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...

5 changed files

  • M activerecord/lib/active_record/association_preload.rb
  • M activerecord/lib/active_record/associations/has_many_through_association.rb
  • M activerecord/test/cases/associations/eager_test.rb
  • M activerecord/test/cases/associations/has_many_through_associations_test.rb
  • M activerecord/test/models/post.rb