aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/scoping/default_scoping_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Use assert_no_match for test_order_to_unscope_reorderingYasuo Honda2018-04-201-1/+1
* Replace `assert !` with `assert_not`Daniel Colson2018-04-191-1/+1
* Use assert_empty and assert_not_emptyDaniel Colson2018-01-251-2/+2
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-2/+2
* Merge pull request #28313 from sandrew/masterRyuta Kamizono2018-01-151-0/+12
|\
* | Fix postgres ordering issue on default scoping testGabriel Sobrinho2017-11-131-15/+15
* | Merge remote-tracking branch 'origin/master' into unlock-minitestRafael Mendonça França2017-08-011-1/+36
|\ \
| * | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
| * | Fix unscoping `default_scope` for `Preloader`Ryuta Kamizono2017-07-191-0/+2
| * | Fix unscoping `default_scope` in STI associationsRyuta Kamizono2017-07-191-0/+16
| * | Post.joins(:users) should not be affected by `User.current_scope`Sean Griffin2017-07-171-0/+10
| * | Enable `Layout/FirstParameterIndentation` copRyuta Kamizono2017-07-171-1/+1
| * | Fix `create_with` using both string and symbolRyuta Kamizono2017-07-161-0/+5
| * | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| * | Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* | | Explicitly create necessary data for testyuuji.yaginuma2017-05-131-0/+4
|/ /
* | Fix a failed AR test when running with OracleAdapterKoichi ITO2017-03-311-0/+2
* | Fix fragile test (`AssociationProxyTest#test_save_on_parent_saves_children`)Fumiaki MATSUSHIMA2017-03-161-36/+34
|/
* Ensure test threads share a DB connectioneileencodes2017-02-201-0/+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-251-2/+2
* let Regexp#match? be globally availableXavier Noria2016-10-271-1/+0
* improve error message when include assertions failMichael Grosser2016-09-161-2/+2
* Add three new rubocop rulesRafael Mendonça França2016-08-161-1/+1
* modernizes hash syntax in activerecordXavier Noria2016-08-061-17/+17
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-81/+81
* adds missing requiresXavier Noria2016-07-241-0/+1
* systematic revision of =~ usage in ARXavier Noria2016-07-231-1/+1
* Execute default_scope defined by abstract class within the scope of subclassMehmet Emin İNAÇ2016-03-081-0/+12
* Allow `joins` to be unscopedTakashi Kokubun2016-01-311-0/+12
* Skip the STI condition when evaluating a default scopeMatthew Draper2016-01-121-0/+14
* 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
|/
* `WhereClause#predicates` does not need to be publicSean Griffin2015-01-271-4/+4
* Remove all references to `where_values` in testsSean Griffin2015-01-251-5/+5
* 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
* Allow to unscope where conditions using `arel_table` with Symboldeeeki2014-12-031-0/+8
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-32/+32
* Build fix when running in isolationArun Agrawal2014-11-141-0/+1
* Skip StatementCache for eager loaded associations (Fixes #16761)Sammy Larbi2014-09-041-1/+20
* Add tests for default scope behaviour changeJon Leighton2014-02-231-0/+18
* Let `unscope` ignore non Arel scope.where_valuesWashington Luiz2014-01-301-0/+10
* Fix bad usage of #select with hashCarlos Antonio da Silva2013-12-031-1/+1
* Fix ActiveRecord::Relation#unscopeJon Leighton2013-11-201-0/+6
* Don't skip tests if we don't need to.Rafael Mendonça França2013-11-081-25/+23
* unscope now works on default_scope after 94924dc32baf78f13e289172534c2e71c9c8...Rafael Mendonça França2013-11-021-1/+1
* remove trailing whitespace added with b057765 [ci skip].Yves Senn2013-10-211-2/+2
* Allow unscope to work with `where.not`Eric Hankins2013-10-211-6/+14