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 [a9422cc1db9501a80ecf2c25a5d3b0c4f4f32763] by Matt Jones

Revision a9422cc1db9501a80ecf2c25a5d3b0c4f4f32763, committed by Matt Jones · December 18th, 2008 @ 07:19 PM

Fix preloading of has_one :through associations on belongs_to [#1507 state:resolved]

Signed-off-by: Frederick Cheung frederick.cheung@gmail.com http://github.com/rails/rails/co...

9 changed files

  • M activerecord/lib/active_record/association_preload.rb
  • M activerecord/lib/active_record/associations/association_collection.rb
  • M activerecord/test/cases/associations/has_one_through_associations_test.rb
  • M activerecord/test/fixtures/member_types.yml
  • M activerecord/test/fixtures/members.yml
  • M activerecord/test/models/member.rb
  • M activerecord/test/models/member_detail.rb
  • M activerecord/test/models/member_type.rb
  • M activerecord/test/schema/schema.rb