This project is archived and is in readonly mode.
Changeset [b163d83b8bab9103dc0e73b86212c2629cb45ca2] by miloops
Revision b163d83b8bab9103dc0e73b86212c2629cb45ca2,
committed by miloops
· August 30th, 2008 @ 11:24 PM
Performance: Better query for ASSOCIATION_ids. Select only ids if the association hasn't been loaded.
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...
4 changed files
-
M
activerecord/lib/active_record/associations.rb -
M
activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb -
M
activerecord/test/cases/associations/has_many_associations_test.rb -
M
activerecord/test/cases/associations/has_many_through_associations_test.rb