aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relations_test.rb
Commit message (Expand)AuthorAgeFilesLines
...
| * | 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
* Merge pull request #12518 from vipulnsward/remove_count_optionsRafael Mendonça França2013-10-131-1/+1
|\
| * Stop accepting `options` for `Relation#average`, `Relation#minimum`, `Relatio...Vipul A M2013-10-141-1/+1
* | Merge pull request #12508 from jetthoughts/12415_generate_subqueries_for_rela...Rafael Mendonça França2013-10-131-0/+5
|\ \ | |/ |/|
| * Generate subquery for Relation passed as array condition for wherePaul Nikitochkin2013-10-131-0/+5
* | Fixes #11773 when using includes combined with select, the select statement w...Edo Balvers2013-10-081-0/+8
|/
* Squashed commit of the following:Aaron Patterson2013-10-011-0/+5
* Removed where_values_hash from AR::NullRelationPaul Nikitochkin2013-09-281-0/+4
* Allow Relation#from to accept other relations with bind values.Ryan Wallace2013-09-081-0/+7
* Extracted from `order` processing of arguments, and use it for `reorder` to b...Paul Nikitochkin2013-09-041-0/+18
* test-case for fixed issue #11870.Yves Senn2013-08-141-0/+4
* Revert change on ActiveRecord::Relation#order method that prepends newRafael Mendonça França2013-07-291-7/+7
* reorder bind parameters when merging relationsAaron Patterson2013-07-151-0/+17