aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/named_scope_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* renaming tests by removing proxy_options from namesNeeraj Singh2010-07-211-5/+5
* Push a failing test for issues [#4994] and [#5003].José Valim2010-06-291-0/+6
* Add scoping and unscoped as the syntax to replace the old with_scope and with...José Valim2010-06-291-2/+2
* removes Array#random_element and backports Array#sample from Ruby 1.9, thanks...Xavier Noria2010-06-051-1/+1
* Properly cache association_collection#scopes calls having argumentsPratik Naik2010-06-041-0/+13
* Change on Array extension from rand => random_element [#4555 state:committed]Santiago Pastorino2010-05-161-1/+1
* STI should not ignore type condition while applying scopes from parent class ...Neeraj Singh2010-05-151-0/+5
* Reset named scope cache whenever the @target is resetPratik Naik2010-04-071-0/+10
* Memoize association.named_scope callsPratik Naik2010-04-051-0/+9
* Named scopes shouldn't test equality using to_a if it's not an Array, this wa...Emilio Tagua2010-03-301-3/+9
* defining a named_scope which overwrites an existing method is now allowed we ...Matthew Rudy Jacobs2010-03-281-2/+15
* cleaning up a bunch of parse time warnings in AR [#4186 state:resolved]Aaron Patterson2010-03-151-2/+2
* Allow calling class methods on a RelationPratik Naik2010-01-221-0/+9
* Give preference to to_a over arel from Relation#method_missingPratik Naik2010-01-191-0/+6
* Rename named_scope to scopePratik Naik2010-01-181-1/+5
* Inherit named scope class Scope from RelationPratik Naik2010-01-181-11/+6
* Ensure that Scope#proxy_scope is always klass. Rename proxy_scope to klass too.Pratik Naik2010-01-181-4/+4
* Make sure named_scope names are not used as method names alreadyPratik Naik2010-01-171-5/+11
* Add new finder methods to association collection.Pratik Naik2009-12-271-2/+2
* Merge commit 'rails/master'Emilio Tagua2009-08-101-0/+6
|\
| * Prevent overwriting of table name in merging SQL conditions [#2949 state:reso...Tristan Dunn2009-08-101-0/+6
* | Merge commit 'rails/master'Emilio Tagua2009-08-081-1/+2
|\|
| * always sort lists by id before comparison to avoid errors because of differen...Raimonds Simanovskis2009-08-061-1/+2
* | Merge commit 'rails/master'Emilio Tagua2009-07-311-4/+0
|\|
| * Revert "Methods invoked within named scope Procs should respect the scope sta...Jeremy Kemper2009-07-291-4/+0
* | Introduced ActiveRecord::Relation, a layer between an ARel relation and an AR...Emilio Tagua2009-07-211-4/+4
|/
* Add missing models and fixtures [#2673 state:resolved]Emilio Tagua2009-05-191-1/+3
* Implement #many? for NamedScope and AssociationCollection using #size [#1500 ...Chris Kampmeier2009-05-171-0/+34
* Cherry-pick core extensionsJeremy Kemper2009-05-131-1/+2
* Returning nil from named scope lambda is equivalent to an empty hash [#1773 s...Elijah Miller2009-03-121-0/+6
* Ensure ActiveRecord::Base.find_in_batches fires doesnt fire an extra query un...Pratik Naik2009-03-111-1/+1
* Add NamedScope#find_each tests [#2201 state:resolved]Pratik Naik2009-03-111-1/+15
* Ensure nested with_scope merges conditions inside out [#2193 state:resolved]Manfred Stienstra2009-03-101-8/+14
* Methods invoked within named scope Procs should respect the scope stack. [#12...jvoorhis2009-03-061-0/+4
* Fixed bug that makes named_scopes _forgot_ current scopeDiego Algorta2009-02-251-0/+9
* Make sure inner scope conditions get a preference over the outer onesPratik Naik2009-01-241-0/+20