aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relations_test.rb
Commit message (Expand)AuthorAgeFilesLines
...
* | | | | | | When use where more than once on the same column, relation doesn't do an 'or'...Santiago Pastorino2010-11-171-0/+9
| |_|_|_|_|/ |/| | | | |
* | | | | | support finding by a ruby class [#5979 state:resolved]Aaron Patterson2010-11-151-0/+7
* | | | | | adding more test coverage around finding with active record objectsAaron Patterson2010-11-151-0/+12
* | | | | | use quoted id of single AR::Base objects in predicatesAaron Patterson2010-11-151-0/+6
* | | | | | use persisted? instead of new_record? wherever possibleDavid Chelimsky2010-11-091-5/+5
| |_|_|_|/ |/| | | |
* | | | | use column names as order by complex function parameters, fix for postgresql ...Raimonds Simanovskis2010-11-071-12/+2
* | | | | Fixes queries using limits and punctuation in order, removes order("col1, col...Santiago Pastorino2010-11-051-1/+22
| |_|_|/ |/| | |
* | | | adding tests for #5234 and #5184. Tests were from Akira Matsuda. Thanks Akira!Aaron Patterson2010-10-301-0/+5
| |_|/ |/| |
* | | adding bind_values to relationsAaron Patterson2010-10-261-0/+9
* | | removing call to deprecated API, this test is outside AR responsibilitiesAaron Patterson2010-10-221-7/+0
| |/ |/|
* | reorder removed in favor of except(:order).orderSantiago Pastorino2010-10-111-6/+0
|/
* @klass also uses DynamicFinderMatch, so no need for it on the relationAaron Patterson2010-09-271-0/+5
* expanding the test to include both type of order declarationNeeraj Singh2010-09-181-6/+22
* removing nonsensical tests, limit now actually adds a limitAaron Patterson2010-09-151-4/+0
* added a test for relation which checks intersection between a relation and an...kane2010-09-101-0/+6
* Add tests for Relation#only.Emilio Tagua2010-09-091-0/+11
* select should raise error when no block or no parameter is passedAaron Patterson2010-09-071-0/+4
* order should always be concatenated.Neeraj Singh2010-09-051-0/+18
* Fix test: this should return 0 not 7, since Arel was ignoring select clause a...Emilio Tagua2010-09-011-1/+1
* code gardening: we have assert_(nil|blank|present), more concise, with better...Xavier Noria2010-08-171-2/+2
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-2/+2
* Ensure we can nest include calls [#5285 state:resolved]Neeraj Singh2010-08-121-1/+11
* test to ensure that respond_to? delegates to arelAaron Patterson2010-08-061-0/+19
* sorry AR, my privates are none of your businessAaron Patterson2010-08-061-7/+0
* reverting where() functionality, adding a testAaron Patterson2010-07-301-0/+5
* removing unused models from testsSubba Rao Pasupuleti2010-07-211-1/+0
* 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