aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relations_test.rb
Commit message (Expand)AuthorAgeFilesLines
...
| * 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
* Revert "Merge pull request #11299 from arunagw/disable_implicit_join_referenc...Yves Senn2013-07-051-0/+6
* Remove deprecated `ActiveRecord::Base.disable_implicit_join_references=`.Arun Agrawal2013-07-041-6/+0
* fix to_sql output on eager loaded relationsAaron Patterson2013-07-021-0/+8
* remove deprecated implicit join references.Yves Senn2013-06-291-23/+2
* Remove depreacted findersŁukasz Strzałkowski2013-06-281-1/+1
* Merge pull request #10561 from Empact/nix-throwresultJon Leighton2013-06-071-2/+3
|\
| * Make NullRelation a bit more like a real relation by returning 0 for #calcula...Ben Woosley2013-05-101-2/+3
* | avoid creating a set if no where values are removedAaron Patterson2013-05-211-0/+12
* | remove bind values for where clauses that were removedAaron Patterson2013-05-211-0/+10
|/
* When empty options passed to having clause having_values was [nil] but should...Fyodor2013-04-231-0/+8
* Fix implicit join references option reversion in testCarlos Antonio da Silva2013-03-151-1/+2
* make it possible to disable implicit join references.Yves Senn2013-03-151-0/+9
* Deprecate the `:distinct` option for `Relation#count`.Yves Senn2013-03-151-4/+4