aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relations_test.rb
Commit message (Expand)AuthorAgeFilesLines
...
* | switch `assert_operator` arguments as discussed in #16860.Yves Senn2014-09-111-1/+1
* | A `NullRelation` should represent nothing. Closes #15176.Yves Senn2014-09-111-0/+5
* | Ignore SCHEMA queries when asserting no queriesAkira Matsuda2014-08-281-6/+6
* | Fixed find_by("sql fragment without bindings") on masterGodfrey Chan2014-08-251-2/+2
* | Move test to the proper fileRafael Mendonça França2014-05-261-7/+0
* | Add missing test case for quoting behaviorSean Griffin2014-05-261-0/+7
* | Merge pull request #14803 from kuldeepaggarwal/null_relation_sum_fixMatthew Draper2014-05-221-0/+44
|\ \
| * | Fixed a problem where `sum`, `size`, `average`, `minimum` and `maximum` usedKuldeep Aggarwal2014-05-151-0/+44
* | | fix multiple hash preloads. Fixes #14994Aaron Patterson2014-05-201-0/+7
* | | Fix `Relation#delete_all` inconsistencyLeandro Facchinetti2014-05-161-1/+5
|/ /
* | Put back Relation#join method as a delegate to ArrayBogdan Gusiev2014-05-051-0/+4
* | Merge branch 'master' into adequaterecordAaron Patterson2014-04-201-0/+22
|\ \
| * | Changed the NullRelation so that when count is called with #group it will pro...Eric Chahin2014-04-161-0/+11
| * | The Association Relation should use `empty?` and `size` from Relation.Lauro Caetano2014-04-141-0/+11
* | | Merge branch 'master' into adequaterecordAaron Patterson2014-04-141-0/+10
|\| |
| * | Use assert_notRafael Mendonça França2014-04-111-1/+1
| * | :scissors:Rafael Mendonça França2014-04-111-3/+3
| * | Fix error for aggregate methods with select, see issue #13648Simon Woker2014-04-101-0/+10
* | | propogate bind values collected in arel to SQL generationAaron Patterson2014-04-111-0/+8
* | | Merge branch 'master' into adequaterecordAaron Patterson2014-04-071-0/+18
|\| |
| * | Build the reverse_order on its proper method.Lauro Caetano2014-04-071-0/+12
| * | CollectionProxy uses the arel of its association's scope.Jefferson Lai2014-04-021-0/+6
* | | Merge branch 'master' into adequaterecordAaron Patterson2014-03-251-0/+8
|\| |
| * | `where.not` adds `references` for `includes`.Yves Senn2014-03-171-0/+8
* | | Merge branch 'master' into adequaterecordAaron Patterson2014-03-131-2/+2
|\| |
| * | passing an instance of an AR object to `find` is deprecatedAaron Patterson2014-03-131-1/+1
| * | passing an ActiveRecord object to `exists?` is deprecated.Aaron Patterson2014-03-131-1/+1
* | | Merge branch 'master' into adequaterecordAaron Patterson2014-03-131-2/+26
|\| |
| * | we only need to support `asc` and `ASC`. No need for mixed cases. #14263Yves Senn2014-03-051-21/+11
| * | Allow string hash values on AR order methodMarcelo Casiraghi2014-03-041-2/+36
* | | Merge branch 'master' into adequaterecordAaron Patterson2014-02-171-3/+6
|\| |
| * | Revert "Merge pull request #13344 from ccutrer/fix-from-default-select"Rafael Mendonça França2014-02-171-3/+6
* | | Merge branch 'master' into adequaterecordAaron Patterson2014-02-171-12/+49
|\| |
| * | Handle aliased attributes in AR::Relation#select, #order, etc.Tsutomu Kuroda2014-01-291-0/+31
| * | prepend table name for `Relation#select` columns.Yves Senn2014-01-211-0/+6
| * | Ensure #second acts like #first AR finderJason Meller2014-01-201-12/+12
* | | Merge branch 'master' into set_bindsAaron Patterson2014-01-141-13/+0
|\| |
| * | rm dup codeAaron Patterson2014-01-141-13/+0
* | | test bind value equalityAaron Patterson2014-01-141-2/+2
* | | `where` makes bind values, so stop manually creating themAaron Patterson2014-01-141-11/+3
* | | switch to arrays for bind removal testAaron Patterson2014-01-141-4/+2
* | | `where` creates binds, so do not create them manuallyAaron Patterson2014-01-141-2/+1
|/ /
* | unscope should remove bind values associated with the whereAaron Patterson2014-01-131-0/+9
* | fix default select when from is usedCody Cutrer2013-12-191-0/+5
* | Remove delegation test.laurocaetano2013-12-121-17/+46
* | Revert "Merge pull request #12518 from vipulnsward/remove_count_options"Rafael Mendonça França2013-12-111-1/+1
|/
* move Relation#merge tests into separate file.Yves Senn2013-11-131-121/+0
* Fix order dependent testsRafael Mendonça França2013-10-221-4/+4
* Process sub-query relation's binding valuesPaul Nikitochkin2013-10-201-0/+25
* Pluck on NullRelation accepts a list of columnsDerek Prior2013-10-151-1/+1