This project is archived and is in readonly mode.
Changeset [bed9179aa1496f6d28891cf515af0d7e515ebbab] by Pratik Naik
Revision bed9179aa1496f6d28891cf515af0d7e515ebbab,
committed by Pratik Naik
· January 15th, 2010 @ 06:32 PM
Make scopes use relations under the hood
http://github.com/rails/rails/commit/bed9179aa1496f6d28891cf515af0d...
13 changed files
-
M
activerecord/lib/active_record/associations.rb -
M
activerecord/lib/active_record/associations/association_collection.rb -
M
activerecord/lib/active_record/associations/has_many_through_association.rb -
M
activerecord/lib/active_record/associations/through_association_scope.rb -
M
activerecord/lib/active_record/base.rb -
M
activerecord/lib/active_record/calculations.rb -
M
activerecord/lib/active_record/named_scope.rb -
M
activerecord/lib/active_record/relation.rb -
M
activerecord/lib/active_record/relation/calculation_methods.rb -
M
activerecord/lib/active_record/relation/query_methods.rb -
M
activerecord/lib/active_record/relation/spawn_methods.rb -
M
activerecord/test/cases/associations/inner_join_association_test.rb -
M
activerecord/test/cases/method_scoping_test.rb