aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relations_test.rb
Commit message (Expand)AuthorAgeFilesLines
...
| * have does_not_support_reverse? support sql functions with commas in nested br...Jack2016-07-291-0/+9
* | Add three new rubocop rulesRafael Mendonça França2016-08-161-17/+17
* | Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
* | applies remaining conventions across the projectXavier Noria2016-08-061-1/+1
* | remove redundant curlies from hash argumentsXavier Noria2016-08-061-2/+2
* | modernizes hash syntax in activerecordXavier Noria2016-08-061-89/+89
* | applies new string literal convention in activerecord/testXavier Noria2016-08-061-251/+251
|/
* Merge pull request #24203 from sferik/count_with_blockKasper Timm Hansen2016-05-161-0/+5
|\
| * Forward ActiveRecord::Relation#count to Enumerable#count if block givenErik Michaels-Ober2016-03-191-0/+5
* | Allow the connection adapters to determine the order of bind paramsSean Griffin2016-05-061-0/+18
|/
* Merge pull request #23751 from chezou/add-test-case-order-by-fieldAndrew White2016-02-221-0/+6
|\
| * Add assertions order by field with empty dataMichiaki Ariga2016-02-181-0/+6
* | Mutating the result of Relation#to_a should not affect the relationMatthew Draper2016-02-211-0/+10
|/
* Introduce ActiveRecord::IrreversibleOrderErrorBogdan Gusiev2016-01-271-0/+34
* Merge pull request #22053 from Empact/first-loadedYves Senn2015-12-281-3/+26
|\
| * Fix `first(limit)` to take advantage of `loaded?` records if availableBen Woosley2015-12-241-3/+14
|/
* Revert "Perform a more efficient query in `Relation#any?`"Sean Griffin2015-12-141-0/+7
* Merge pull request #13008 from ktheory/sanitize_orderSean Griffin2015-10-291-0/+5
|\
| * Support SQL sanitization in AR::QueryMethods#orderAaron Suggs2013-11-221-0/+5
* | Add deprecation warning to `ActiveRecord::Relation#update`Ted Johansson2015-10-151-0/+7
* | Skip the test added in 9cc324a on buggy versions of SQliteSean Griffin2015-09-211-10/+0
* | Ensure aliased attributes passed to `select` are quoted if using `from`Sean Griffin2015-09-211-0/+10
* | Deprecate passing conditions to AR::Relation destroy_all and delete_all methodsWojciech Wnętrzak2015-09-061-0/+12
* | Fix regression caused by a01d164bRafael Mendonça França2015-07-071-0/+19
* | Merge pull request #20196 from huoxito/preload-association-and-mergesRafael Mendonça França2015-05-281-1/+27
|\ \
| * | Properly append preload / includes args on MergerWashington Luiz2015-05-281-1/+27
* | | deprecate `Relation#uniq` use `Relation#distinct` instead.Yves Senn2015-05-261-4/+7
|/ /
* | Raise ArgumentError when find_by receives no argumentsKohei Suzuki2015-04-111-0/+8
* | 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