aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #18744 from mfazekas/no-table-name-with-fromRafael Mendonça França2015-02-241-0/+11
* Optimize none? and one? relation query methods to use LIMIT and COUNT.Eugene Gilburg2015-02-121-0/+34
* Fixed AR::Relation#group method when argument is a SQL reserved keywordBogdan Gusiev2015-01-291-0/+5
* Remove Relation#bind_paramsSean Griffin2015-01-271-1/+1
* Use an `Attribute` object to represent a bind valueSean Griffin2015-01-271-3/+2
* Remove unused `bind` and `bind!` methods from `Relation`Sean Griffin2015-01-261-9/+0
* Generate a query that makes sense when testing having clausesSean Griffin2015-01-261-3/+4
* Change `having_values` to use the `WhereClause` classSean Griffin2015-01-261-2/+18
* Don't remove join dependencies in `Relation#exists?`Sean Griffin2015-01-231-0/+6
* remove deprecation warning when modifying a Relation with cached arel.Yves Senn2015-01-051-0/+8
* Remove deprecated `ActiveRecord::Base.disable_implicit_join_references=`Rafael Mendonça França2015-01-041-6/+0
* Remove support to activerecord-deprecated_findersRafael Mendonça França2015-01-021-1/+1
* Merge pull request #11898 from prathamesh-sonpatki/patch-updateRafael Mendonça França2015-01-021-0/+18
|\
| * Allow ActiveRecord::Relation#update to run on result of a relation with callb...Prathamesh Sonpatki2014-12-201-0/+18
* | Remove `klass` and `arel_table` as a dependency of `PredicateBuilder`Sean Griffin2014-12-261-1/+2
* | Inject the `PredicateBuilder` into the `Relation` instanceSean Griffin2014-12-261-1/+2
|/
* Deprecate `Class` handler in `PredicateBuilder`Melanie Gilman2014-12-041-1/+3
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-4/+4
* rm `reorder_bind_params`Sean Griffin2014-11-171-1/+1
* Build fix when running in isolationArun Agrawal2014-11-141-0/+1
* 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