aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relations_test.rb
Commit message (Expand)AuthorAgeFilesLines
...
* Remove a redundant default_scope testsKoichi ITO2017-06-031-10/+0
* Should test against `Relation#bound_attributes`Ryuta Kamizono2017-05-041-8/+12
* Remove duplicated `test_merging_reorders_bind_params`Ryuta Kamizono2017-05-041-9/+0
* Restore `fixtures :author_addresses`Ryuta Kamizono2017-04-271-1/+1
* Revert "Merge pull request #27636 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-04-261-1/+1
* `respond_to_missing?` should be privateRyuta Kamizono2017-04-221-5/+1
* Fix an AR test of relations_test when using OracleKoichi ITO2017-04-111-1/+1
* Load only needed records on ActiveRecord::Relation#inspectHendy Tanata2017-03-281-0/+6
* Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2017-03-261-1/+1
* Fix where_clause#except with specific where valueJohn Hawthorn2017-03-201-0/+8
* Use `load` rather than `collect` for force loadingRyuta Kamizono2017-03-191-7/+7
* Allow order to be given expressions as hash keysEugene Kenny2017-02-271-1/+24
* Merge pull request #27122 from kamipo/fix_unscope_with_subqueryRafael França2017-02-131-0/+12
|\
| * Fix unscope with subqueryRyuta Kamizono2016-12-051-0/+12
* | Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-01-031-1/+1
* | 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