aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/scoping
Commit message (Expand)AuthorAgeFilesLines
* 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
* 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-143-0/+3
* Merge pull request #17374 from maurogeorge/scope-exceptionYves Senn2014-10-271-0/+7
|\
| * Raises ArgumentError when try to define a scope without a callableMauro George2014-10-231-0/+6
|/
* :scissors: duplicated `require`sGodfrey Chan2014-10-141-1/+0
* make sure cache is not used for collection assocations tooAaron Patterson2014-10-141-1/+12
* break cache if we're inside a "scoping" call. fixes #17052Aaron Patterson2014-10-141-0/+10
* Skip StatementCache for eager loaded associations (Fixes #16761)Sammy Larbi2014-09-041-1/+20
* Enums shouldn't ruin people's anniversariesGodfrey Chan2014-09-041-2/+5
* Make sure that fixtures are loaded before findingAkira Matsuda2014-08-141-0/+4
* FormatAkira Matsuda2014-08-141-2/+2
* Revert "Merge pull request #14544 from jefflai2/named_scope_sti"Rafael Mendonça França2014-05-211-6/+1
* Merge pull request #14544 from jefflai2/named_scope_stiRafael Mendonça França2014-05-201-1/+6
|\
| * Fixes Issue #13466.Jefferson Lai2014-04-231-1/+6
* | Block a few default Class methods as scope name.Arthur Neves2014-04-031-0/+3
|/
* do not rely on method_missing hitting arelAaron Patterson2014-03-241-2/+3
* Add tests for default scope behaviour changeJon Leighton2014-02-231-0/+18
* Remove warnings for already defined methodsRafael Mendonça França2014-02-011-1/+3
* Let `unscope` ignore non Arel scope.where_valuesWashington Luiz2014-01-301-0/+10
* `scope` now raises on "dangerous" name conflictsGodfrey Chan2014-01-291-0/+57
* Ensure #second acts like #first AR finderJason Meller2014-01-201-4/+4
* 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
* asakusa.rb hack night!Aaron Patterson + Akira Matsuda2013-08-061-0/+2
* Revert change on ActiveRecord::Relation#order method that prepends newRafael Mendonça França2013-07-291-4/+4
* close our connection when we are doneAaron Patterson2013-07-081-1/+6
* Remove deprecated `scope` use without passing a callable object.Arun Agrawal2013-07-031-10/+0
* calling default_scope without a proc will raise ArgumentErrorNeeraj Singh2013-07-021-3/+2
* remove deprecated implicit join references.Yves Senn2013-06-291-5/+0
* Simplify/fix implementation of default scopesJon Leighton2013-06-281-3/+2
* Delegate #unscope query methodCarlos Antonio da Silva2013-04-281-0/+10
* Fix scope chaining + STIJon Leighton2013-04-051-1/+1
* failing test for #9869Neeraj Singh2013-04-051-0/+5
* split relation_scoping_test.rb's default scoping tests into another fileTakehiro Adachi2013-03-302-357/+360
* rename named_scope_test.rb to a proper file nameTakehiro Adachi2013-03-301-1/+1