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

Revision 00d6c766608f90ce64f11feb98786cbc7f71b89d, committed by Gabe da Silveira · August 10th, 2009 @ 12:30 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/through_association_scope.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