aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'master' into nested_has_many_throughJon Leighton2010-11-271-1/+29
|\
| * Do not send id for quoting twice if the primary key is string.Neeraj Singh2010-11-231-1/+8
| * testing multiple ORd queriesAaron Patterson2010-11-181-0/+12
| * When use where more than once on the same column, relation doesn't do an 'or'...Santiago Pastorino2010-11-171-0/+9
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-11-171-5/+30
|\|
| * 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
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-11-081-1/+12
|\|
| * 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
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-10-311-0/+5
|\|
| * adding tests for #5234 and #5184. Tests were from Akira Matsuda. Thanks Akira!Aaron Patterson2010-10-301-0/+5
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-10-281-7/+9
|\|
| * 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
* | Add explicit ordering in relations_test.rb, as the lack of this was causing f...Jon Leighton2010-10-191-9/+9
* | Properly support conditions on any of the reflections involved in a nested th...Jon Leighton2010-10-191-9/+9
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-10-141-6/+0
|\|
| * reorder removed in favor of except(:order).orderSantiago Pastorino2010-10-111-6/+0
* | Fix the tests (I have actually verified that these are also the 'right' fixes...Jon Leighton2010-10-031-10/+10
|/
* @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