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 [844da12ba6acfb71a691ba32901d7acf4cbe37b4] by Maxim Chernyak

Revision 844da12ba6acfb71a691ba32901d7acf4cbe37b4, committed by Maxim Chernyak · June 23rd, 2010 @ 08:09 AM

Fix eager loading of polymorphic has_one associations nested-included under polymorphic belongs_to associations. [#3233 state:resolved]

Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/844da12ba6acfb71a691ba32901d7a...

11 changed files

  • A activerecord/test/cases/associations/eager_load_nested_polymorphic_include.rb
  • A activerecord/test/fixtures/polymorphic_designs.yml
  • A activerecord/test/fixtures/polymorphic_prices.yml
  • A activerecord/test/fixtures/tees.yml
  • A activerecord/test/fixtures/ties.yml
  • A activerecord/test/models/polymorphic_design.rb
  • A activerecord/test/models/polymorphic_price.rb
  • A activerecord/test/models/tee.rb
  • A activerecord/test/models/tie.rb
  • M activerecord/lib/active_record/association_preload.rb
  • M activerecord/test/schema/schema.rb