This project is archived and is in readonly mode.
Changeset [050e58441bf7e60d167f6708072f8fa7aee2ce76] by Jan De Poorter
Revision 050e58441bf7e60d167f6708072f8fa7aee2ce76,
committed by Jan De Poorter
· September 22nd, 2008 @ 06:22 PM
Association#first and last should not load the association if not needed. [#1091 state:resolved]
Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...
3 changed files
-
M
activerecord/lib/active_record/associations/association_collection.rb -
M
activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb -
M
activerecord/test/cases/associations/has_many_associations_test.rb