aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/named_scope.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix AP's AR integration tests warningPratik Naik2010-01-201-1/+1
* Scope#find is no longer needed now that Relation#find handles all the casesPratik Naik2010-01-201-12/+0
* Named scopes dont need count() now that Relation#count handles all the casesPratik Naik2010-01-201-5/+0
* Fix the named scope equality checkPratik Naik2010-01-191-1/+1
* Cleanup deprecation notices.Joshua Peek2010-01-181-4/+4
* Forgot to change named_scope to scope in an ArgumentError raise exception for...Paco Guzman2010-01-181-1/+1
* Fix the named_scope deprecation noticePratik Naik2010-01-181-1/+1
* Rename named_scope to scopePratik Naik2010-01-181-7/+12
* Inherit named scope class Scope from RelationPratik Naik2010-01-181-76/+42
* Ensure that Scope#proxy_scope is always klass. Rename proxy_scope to klass too.Pratik Naik2010-01-181-22/+16
* Make relations work as scopesPratik Naik2010-01-171-5/+21
* Make sure named_scope names are not used as method names alreadyPratik Naik2010-01-171-0/+5
* Use relations to build scope for named scopesPratik Naik2010-01-171-2/+7
* Simplify Model.scoped definitionPratik Naik2010-01-171-7/+1
* Rename Model.active_relation to Model.unscopedPratik Naik2010-01-171-1/+1
* Make sure Model#active_relation always adds STI conditions if neededPratik Naik2010-01-161-1/+1
* Make scopes use relations under the hoodPratik Naik2010-01-161-2/+4
* Get rid of Model.construct_finder_arel_with_includes. Use construct_finder_ar...Pratik Naik2010-01-031-1/+1
* Rename Model.arel_table to Model.active_relationPratik Naik2010-01-021-1/+1
* Rename Model.engine to active_relation_engine. Cache arel_table and the metho...Pratik Naik2010-01-021-1/+1
* Make Model.find_by_* and Model.find_all_by_* use relations and remove dynamic...Pratik Naik2009-12-271-15/+3
* Ensure Model.scoped adds type conditions for STI modelsPratik Naik2009-12-271-0/+1
* Add Model.select/group/order/limit/joins/conditions/preload/eager_load class ...Pratik Naik2009-12-261-1/+20
* Model.scoped now returns a relation if invoked without any argumentsPratik Naik2009-12-261-11/+19
* Revert "Methods invoked within named scope Procs should respect the scope sta...Jeremy Kemper2009-07-291-6/+1
* uses Object#metaclass and Object#class_eval in a few spotsXavier Noria2009-06-121-1/+2
* Break up DependencyModule's dual function of providing a "depend_on" DSL and ...Joshua Peek2009-05-281-1/+1
* Implement #many? for NamedScope and AssociationCollection using #size [#1500 ...Chris Kampmeier2009-05-171-1/+10
* Cherry-pick core extensionsJeremy Kemper2009-05-131-0/+3
* Use DependencyModule for included hooks in ActiveRecordBryan Helmkamp2009-05-111-5/+4
* Default scope :order should be overridden by named scopes.Alexander Podgorbunsky2009-05-011-2/+2
* Returning nil from named scope lambda is equivalent to an empty hash [#1773 s...Elijah Miller2009-03-121-0/+1
* Ensure nested with_scope merges conditions inside out [#2193 state:resolved]Manfred Stienstra2009-03-101-2/+2
* Methods invoked within named scope Procs should respect the scope stack. [#12...jvoorhis2009-03-061-1/+6
* Update rdoc: all is not a named_scope [#1959 state:committed]Zack Hobson2009-02-271-2/+3
* Fixed bug that makes named_scopes _forgot_ current scopeDiego Algorta2009-02-251-2/+11
* Merge docrailsPratik Naik2009-01-181-1/+1
* Merge docrailsPratik Naik2008-09-031-13/+13
* Make NamedScope#size behave identically to AssociationCollection#size. [#933 ...Tom Stuart2008-08-291-1/+5
* 1.9: methods need to be coerced into stringsJoshua Peek2008-08-291-1/+1
* Use a set for the named scope methods not a big regexp.Michael Koziarski2008-08-291-2/+2
* Fix NamedScope regex so methods containing "an" get delegated to proxy_found....Jan De Poorter2008-08-291-1/+1
* Fix incorrect signature for NamedScope#respond_to? [#852 state:resolved]Tom Lea2008-08-211-2/+2
* Support find_all on named scopes. [#730 state:resolved]Ryan Bates2008-08-211-1/+1
* Fix ActiveRecord::NamedScope::Scope#respond_to? [#818 state:resolved]Eloy Duran2008-08-131-1/+5
* Ensure NamedScope#any? uses COUNT query wherever possible. [#680 state:resolved]Jan De Poorter2008-07-231-1/+9
* Ensure NamedScope#build/create/create!/new works as expected when named scope...Daniel Guettler2008-07-091-1/+2
* Fixed that scopes defined with a string name could not be composedTarmo Tänav2008-06-221-0/+1
* Ensure named_scope#empty? uses count query. [#262 state:resolved]Ryan Bates2008-05-281-1/+5
* Merge docrails.Pratik Naik2008-05-251-4/+2