This project is archived and is in readonly mode.

Changeset [236f0bb67adecbc1e6dac5258e4a8cb310ffd7a4] by Frederick Cheung

May 11th, 2008 @ 10:14 PM

When preloading group by reflection rather than by class [#125 state:resolved]

This avoids extra queries when several subclasses inherit the association

from their parent class, while still coping with subclasses redefining

associations.

Signed-off-by: Pratik Naik

http://github.com/rails/rails/co...

Committed by Repository

  • M activerecord/lib/active_record/association_preload.rb
  • M activerecord/test/cases/associations/eager_test.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>