aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/scoping
Commit message (Expand)AuthorAgeFilesLines
* Fix to scoping is correctly restoredRyuta Kamizono2017-06-291-0/+9
* Add missing `delegate :extending, to: :all`Ryuta Kamizono2017-06-011-0/+6
* Fix crashing on circular left join references with scopingRyuta Kamizono2017-05-241-2/+9
* Restore `fixtures :author_addresses`Ryuta Kamizono2017-04-271-2/+2
* Revert "Merge pull request #27636 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-04-261-2/+2
* Fix a failed AR test when running with OracleAdapterKoichi ITO2017-03-311-0/+2
* Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2017-03-261-2/+2
* Use `load` rather than `collect` for force loadingRyuta Kamizono2017-03-191-9/+9
* Fix fragile test (`AssociationProxyTest#test_save_on_parent_saves_children`)Fumiaki MATSUSHIMA2017-03-161-36/+34
* Order array contents to match Relation#firstMatthew Draper2017-02-251-1/+1
* Ensure test threads share a DB connectioneileencodes2017-02-201-0/+2
* Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-01-031-2/+2
* Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-s...Rafael França2017-01-031-2/+2
|\
| * Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2016-12-031-2/+2
* | Replace sleep with synchronizationMatthew Draper2017-01-021-1/+7
* | "Use assert_nil if expecting nil. This will fail in minitest 6."Akira Matsuda2016-12-252-3/+3
|/
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-292-3/+3
* let Regexp#match? be globally availableXavier Noria2016-10-271-1/+0
* improve error message when include assertions failMichael Grosser2016-09-163-11/+11
* Add three new rubocop rulesRafael Mendonça França2016-08-162-11/+11
* Fix warning: ambiguous first argumentRyuta Kamizono2016-08-121-1/+1
* Use `FETCH FIRST` for Oracle12 database and Arel Oracle12 visitorYasuo Honda2016-08-081-1/+1
* applies remaining conventions across the projectXavier Noria2016-08-061-1/+0
* modernizes hash syntax in activerecordXavier Noria2016-08-063-45/+45
* applies new string literal convention in activerecord/testXavier Noria2016-08-063-139/+139
* Remove circular join references in join_dependencyTakashi Kokubun2016-07-281-0/+7
* adds missing requiresXavier Noria2016-07-241-0/+1
* systematic revision of =~ usage in ARXavier Noria2016-07-231-1/+1
* Fix the calling `merge` method at first in a scopesuginoy2016-07-191-0/+7
* Fix some typos in comments.Joe Rafaniello2016-05-041-1/+1
* Do not delegate `AR::Base#empty?` to `all`Sean Griffin2016-05-021-6/+0
* Delegate some additional methods in querying.rbKenta2016-03-301-0/+20
* Execute default_scope defined by abstract class within the scope of subclassMehmet Emin İNAÇ2016-03-081-0/+12
* Merge pull request #18109 from k0kubun/unscoped-joinsSean Griffin2016-02-111-0/+12
|\
| * Allow `joins` to be unscopedTakashi Kokubun2016-01-311-0/+12
* | Suppress :warning:sAkira Matsuda2016-01-281-1/+1
* | scope needs the second argumentAkira Matsuda2016-01-281-1/+1
* | Revert "Remove valid_scope_name? check - use ruby"Akira Matsuda2016-01-281-0/+19
|/
* Skip the STI condition when evaluating a default scopeMatthew Draper2016-01-121-0/+14
* Active scopes apply to child classes, though not parents/siblingsMatthew Draper2016-01-121-3/+17
* Removed mocha from Active Record Part 1Ronak Jangir2015-08-251-4/+6
* Merge pull request #19770 from vngrs/prevent_duplicated_where_clausesRafael Mendonça França2015-08-131-0/+6
|\
| * Prevent duplicating `where` clauses when model is extended from an abstract c...Mehmet Emin İNAÇ2015-04-151-0/+6
* | Fix unscope for less thanTAKAHASHI Kazuaki2015-03-271-0/+12
|/
* Error message testing fixFranky W2015-02-201-2/+4
* `current_scope` shouldn't pollute sibling STI classesSean Griffin2015-02-111-0/+6
* `WhereClause#predicates` does not need to be publicSean Griffin2015-01-273-7/+7
* Remove all references to `where_values` in testsSean Griffin2015-01-253-7/+7
* Remove all cases of manuallly wrapping `Arel::Nodes::Quoted`Sean Griffin2014-12-291-4/+2
* Inform Arel that we don't need to cast a value in testsSean Griffin2014-12-261-2/+4