aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/named_scope_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Update test name to reflect change in how scopes merging worksCarlos Antonio da Silva2013-03-081-2/+2
* Combine scope conditions using ANDNeeraj Singh and John Leighton2013-03-071-3/+3
* Remove ActiveRecord::Base.to_aJon Leighton2012-08-031-13/+13
* Deprecate ActiveRecord::Base.scoped.Jon Leighton2012-07-271-6/+6
* ActiveRecord::Base.all returns a Relation.Jon Leighton2012-07-271-28/+28
* Fix #6635. We should call Scoping methods, before calling Array methods.kennyj2012-06-101-0/+9
* Fix fragile #assert_queries implementation and usages.Steve Jorgensen2012-06-091-1/+0
* quarantine deprecated testsJon Leighton2012-05-181-38/+1
* extract deprecated dynamic methodsJon Leighton2012-05-041-2/+2
* extract code from AR::BaseJon Leighton2012-05-041-2/+2
* clean up implementation of dynamic methods. use method compilation etc.Jon Leighton2012-05-041-3/+2
* find and replace deprecated keysJon Leighton2012-04-271-5/+5
* %s/find(:\(first\|last\|all\), \([^()]*\))/scoped(\2).\1/gcI amongst other th...Jon Leighton2012-04-271-7/+7
* remove unnecessary test codeJon Leighton2012-04-271-4/+0
* remove calls to find(:first), find(:last) and find(:all)Jon Leighton2012-04-261-11/+11
* remove deprecated #first callsJon Leighton2012-04-261-14/+0
* remove deprecate #calculate callsJon Leighton2012-04-261-1/+1
* fix #scoped deprecationsJon Leighton2012-04-261-5/+6
* remove deprecated scope stuffJon Leighton2012-04-261-19/+0
* default_scope with a hash is deprecatedJon Leighton2012-04-261-10/+0
* extract deprecated codeJon Leighton2012-04-251-5/+0
* giving a hash to default scope should not be deprecated (well, not for this r...Jon Leighton2012-04-251-2/+2
* Deprecate eager-evaluated scopes.Jon Leighton2012-03-211-10/+35
* Remove valid_scope_name? check - use rubyJon Leighton2012-03-211-19/+0
* Revert PR#5001 "removed unuseful require for reply as we are not using requir...Vishnu Atrai2012-02-121-0/+1
* removed unuseful require for reply as we are not using require modelKarunakar (Ruby)2012-02-111-1/+0
* remove requires of core_ext/array/random_access that no longer existslest2011-12-211-1/+0
* call scope within unscoped to prevent duplication of where valuesSergey Nartimov2011-12-171-0/+5
* #first doesn't take an order in this testDamien Mathieu2011-09-061-1/+1
* first and last orders the records by idDamien Mathieu2011-09-061-2/+2
* Refactor test case to use anonymous class - Thank you @tenderlovePrem Sichanugrist2011-07-181-13/+8
* Raise an ArgumentError if user passing less number of argument in the dynamic...Prem Sichanugrist2011-07-171-0/+15
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
* Merge pull request #1462 from arunagw/test_added_for_namedscopeJosé Valim2011-06-051-0/+8
|\
| * Test added for namedscope target.Arun Agrawal2011-06-031-0/+8
* | Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES...Jon Leighton2011-06-041-1/+1
|/
* Modified NamedScopeTest to use CollectionAssociation.Michael Ebens2011-05-111-1/+1
* Revert "Deprecate defining scopes with a callable (lambda, proc, etc) via the...Jon Leighton2011-04-171-6/+0
* Deprecate defining scopes with a callable (lambda, proc, etc) via the scope c...Jon Leighton2011-04-121-0/+6
* ActiveRecord::Base.scopes hash is not neededJon Leighton2011-04-121-11/+0
* Removing the scope-caching which happens on association proxies, because the ...Jon Leighton2011-04-121-10/+15
* Delegate first!, last!, any? and many? to scopedAndrew White2011-03-291-1/+16
* fixes: ActiveRecord::Base.scopes includes all scopes defined in all subclassesEric Allam2011-02-241-0/+4
* Split AssociationProxy into an Association class (and subclasses) which manag...Jon Leighton2011-02-181-1/+1
* Replace rudimentary named_scope with scope. [#6052 state:resolved]Pavel Gorbokon2010-12-151-21/+21
* Models should be equals even after destroyedSantiago Pastorino2010-11-161-1/+1
* scopes can take an object that responds to `call`Aaron Patterson2010-10-191-0/+6
* Cleanup deprecation warnings in active recordCarlos Antonio da Silva2010-09-061-4/+0
* code gardening: we have assert_(nil|blank|present), more concise, with better...Xavier Noria2010-08-171-2/+2
* Dynamic finder method like scoped_by_* create methods so thatNeeraj Singh2010-08-031-0/+6