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 [b763858ed5faeda720035dd2178e7c44aa34240a] by Gabe da Silveira

Revision b763858ed5faeda720035dd2178e7c44aa34240a, committed by Gabe da Silveira · August 10th, 2009 @ 12:34 AM

Enable has_many :through for going through a has_one association on the join model [#2719 state:resolved]

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

7 changed files

  • M activerecord/lib/active_record/associations.rb
  • M activerecord/lib/active_record/associations/has_many_through_association.rb
  • M activerecord/lib/active_record/reflection.rb
  • M activerecord/test/cases/associations/has_many_associations_test.rb
  • M activerecord/test/cases/associations/has_many_through_associations_test.rb
  • M activerecord/test/cases/associations/join_model_test.rb
  • M activerecord/test/models/author.rb