aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relations_test.rb
Commit message (Expand)AuthorAgeFilesLines
...
* | Merge pull request #27563 from kamipo/fix_typoRafael França2017-01-031-1/+1
|\ \
| * | Fix typo s/permited/permitted/Ryuta Kamizono2017-01-041-1/+1
* | | Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-s...Rafael França2017-01-031-1/+1
|\ \ \ | |/ / |/| |
| * | Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2016-12-031-1/+1
| |/
* | Remove deprecation of using ActiveRecord::Base instance in .updateRafael Mendonça França2017-01-031-2/+2
* | Remove deprecated `#uniq`, `#uniq!`, and `#uniq_value`Ryuta Kamizono2016-12-301-6/+0
* | Remove deprecated conditions parameter from #delete_allRafael Mendonça França2016-12-291-6/+0
* | Remove deprecated conditions parameter from `#destroy_all`Rafael Mendonça França2016-12-291-6/+0
* | Remove deprecated support to passing a class as a value in a queryRafael Mendonça França2016-12-291-9/+0
* | "Use assert_nil if expecting nil. This will fail in minitest 6."Akira Matsuda2016-12-251-8/+8
|/
* Respect new records for `CollectionProxy#uniq`Ryuta Kamizono2016-11-131-1/+0
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-21/+21
* Tweak a test so the queries matchMatthew Draper2016-10-081-1/+1
* improve error message when include assertions failMichael Grosser2016-09-161-4/+4
* Merge pull request #25987 from aquajach/masterRafael Mendonça França2016-08-171-0/+9
|\
| * 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