This project is archived and is in readonly mode.
Changeset [236f0bb67adecbc1e6dac5258e4a8cb310ffd7a4] by Frederick Cheung
Revision 236f0bb67adecbc1e6dac5258e4a8cb310ffd7a4,
committed by Repository
· 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
2 changed files
-
M
activerecord/lib/active_record/association_preload.rb -
M
activerecord/test/cases/associations/eager_test.rb