aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Add scoping and unscoped as the syntax to replace the old with_scope and with...José Valim2010-06-291-1/+1
* blocks removed from all the ActiveRelation query_methods, extend method added...Santiago Pastorino2010-06-261-1/+1
* reorder method added to ActiveRelationSantiago Pastorino2010-06-261-0/+6
* Test for concatenated orders addedSantiago Pastorino2010-06-261-0/+6
* Support for multiple selects addedNeeraj Singh and Santiago Pastorino2010-06-251-0/+6
* Add tests for relation count. Fix other tests that were conceptually wrong.Emilio Tagua2010-06-241-1/+5
* adding fix for to_xml for ActiveRecord relation objectNeeraj Singh2010-06-231-0/+5
* ActiveRecord's relation object should respond to to_json and to_yamlNeeraj Singh2010-06-231-0/+10
* test for #4917Neeraj Singh2010-06-221-0/+7
* Fix order method to accept relation attributes.Emilio Tagua2010-06-221-2/+6
* This test shouldn't rely on the order of the data returned by selectSantiago Pastorino2010-06-071-1/+1
* Special treatement for Relation#select { with block }Pratik Naik2010-06-021-0/+5
* Final iteration of use better testing methodsNeeraj Singh2010-05-191-3/+3
* Add Relation extensionsPratik Naik2010-04-021-0/+16
* Relation should respond to class methodsPratik Naik2010-01-221-0/+5
* Handle invalid query IN() generated when a blank array is supplied in hash co...Pratik Naik2010-01-181-0/+5
* Dont check for class equaity when merging relationsPratik Naik2010-01-181-4/+0
* Make Relation#reload force load the records immediatelyPratik Naik2010-01-171-3/+5
* 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