aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Add Relation#create_with to explictily specify create scopePratik Naik2010-01-041-0/+8
* Relation#merge and Relation#except should respect locksPratik Naik2010-01-031-0/+5
* Add Relation#exceptPratik Naik2010-01-031-0/+12
* Give preference to the second relation's order when mergingPratik Naik2010-01-031-1/+0
* Add Relation#includes to be an equivalent of current finder option :includePratik Naik2010-01-031-1/+24
* Implement Relation#create and Relation#create!Pratik Naik2010-01-031-0/+24
* Implement Relation#newPratik Naik2010-01-031-0/+16
* Relation#many? shoud load the records if there's a LIMITPratik Naik2009-12-301-0/+6
* Add Relation#any? and Relation#many?Pratik Naik2009-12-301-0/+26
* Fix the count test for postgresPratik Naik2009-12-301-1/+1
* Relation#count should look for projections in chained relations and perform t...Emilio Tagua2009-12-301-1/+11
* Relation#respond_to? should take second argument for responding to private me...Pratik Naik2009-12-291-0/+7
* Make sure Relation responds to dynamic finder methodsPratik Naik2009-12-291-1/+9
* Add Relation#size and Relation#empty?Pratik Naik2009-12-291-3/+15
* Add Relation#delete_allPratik Naik2009-12-291-0/+20
* Add Relation#countPratik Naik2009-12-281-0/+30
* Raise ArgumentError when trying to merge relations of different classesPratik Naik2009-12-281-0/+5
* Fix relation tests for postgresPratik Naik2009-12-281-8/+9
* Handle preloads and eager loads when merging relationsPratik Naik2009-12-281-2/+18
* Add relation#merge to merge two relationsPratik Naik2009-12-281-0/+8
* Add relation.destroy_allPratik Naik2009-12-271-0/+13
* Add relation.last and relation.reverse_orderPratik Naik2009-12-271-0/+6
* Add relation.exists?Pratik Naik2009-12-271-0/+11
* Add find(ids) to relationsPratik Naik2009-12-271-1/+23
* Add find_or_create_by_* and find_or_initialize_by_* to relationsPratik Naik2009-12-271-0/+21
* Add find_by_* and find_all_by_* finders to ActiveRecord::RelationPratik Naik2009-12-271-1/+33
* Ensure all the finder methods respect scopingPratik Naik2009-12-261-1/+6
* Add relation.reload to force reloading the recordsPratik Naik2009-12-261-0/+15
* Cache the loaded relationsPratik Naik2009-12-261-1/+32
* Ensure preload and eager_load finder methods accept multiple argumentsPratik Naik2009-12-261-4/+10
* Add support for multiple arguments to .where finderPratik Naik2009-12-261-0/+1
* Add Relation#all as an alias for to_aPratik Naik2009-12-261-0/+6
* Rename Model.conditions and relation.conditions to .wherePratik Naik2009-12-261-7/+7
* No parentheses for assert_equalPratik Naik2009-12-261-6/+6
* Add Model.select/group/order/limit/joins/conditions/preload/eager_load class ...Pratik Naik2009-12-261-27/+33
* Model.scoped now returns a relation if invoked without any argumentsPratik Naik2009-12-261-0/+6
* Clarify failed assertionJeremy Kemper2009-11-091-1/+1
* Relations: Added offset when finding with associations. Delegate array instanceEmilio Tagua2009-10-071-5/+4
* Allow preload and eager_load to work on relations at the same time.Emilio Tagua2009-10-071-0/+22
* Moved relation's test to relation_test.Emilio Tagua2009-10-051-0/+11
* Added association preload to relation.Emilio Tagua2009-09-011-1/+30
* Revert "Revert "Add readonly support for relations.""Emilio Tagua2009-08-271-0/+6
* Revert "Add readonly support for relations."Emilio Tagua2009-08-271-6/+0
* Add readonly support for relations.Emilio Tagua2009-08-271-0/+6
* Override respond_to? in ActiveRecord::Relation to go withEmilio Tagua2009-08-181-0/+8
* Use immutable relation objects to generate queries.Emilio Tagua2009-08-181-10/+10
* Fix typo in test classname.Emilio Tagua2009-08-181-1/+1
* Use finder options as relation method names to provide more familiarEmilio Tagua2009-08-181-12/+10
* Added collection iteration to AR::Relation.Emilio Tagua2009-08-031-1/+0
* Added ActiveRecord::Relation tests. Allow Relation to accept conditionalEmilio Tagua2009-07-311-0/+78