This project is archived and is in readonly mode.

Changeset [844da12ba6acfb71a691ba32901d7acf4cbe37b4] 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...

Committed by Maxim Chernyak

  • 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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>