aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/named_scope.rb
Commit message (Expand)AuthorAgeFilesLines
* reduce object allocation during AR instantiationAaron Patterson2011-06-281-3/+6
* remove the check for needs_type_condition? because ensure_proper_type will pi...Aaron Patterson2011-06-271-1/+1
* AR object instantiation is ~30% faster in the simple caseAaron Patterson2011-06-271-0/+16
* Corrected some typos and American vs. Queen's English issuesLee Reilly2011-05-291-1/+1
* Bring back some bits of documentation for scopes which were removed as part o...Jon Leighton2011-04-171-1/+29
* Revert "Deprecate defining scopes with a callable (lambda, proc, etc) via the...Jon Leighton2011-04-171-60/+2
* Deprecate defining scopes with a callable (lambda, proc, etc) via the scope c...Jon Leighton2011-04-121-2/+60
* ActiveRecord::Base.scopes hash is not neededJon Leighton2011-04-121-16/+4
* Evaluate default scopes at the last possible moment in order to avoid problem...Jon Leighton2011-04-121-1/+7
* Deprecated support for passing hashes and relations to default_scope, in favo...Jon Leighton2011-04-121-1/+1
* Symbol to proc is preferred over longer form of mapRyan Bigg2011-03-311-1/+1
* Cleanup of named_scope documentationRyan Bigg2011-03-311-8/+9
* Fix typo in named_scope documentationRyan Bigg2011-03-311-1/+1
* add space to conform with styleEadz2011-03-311-1/+1
* Documented undocumented feature: Class methods on your model are automaticall...Eadz2011-03-311-0/+22
* fixes: ActiveRecord::Base.scopes includes all scopes defined in all subclassesEric Allam2011-02-241-2/+3
* class inheritable attributes is used no more! all internal use of class inher...Josh Kalderimis2010-11-201-4/+6
* scopes can take an object that responds to `call`Aaron Patterson2010-10-191-1/+1
* avoid creating the proc object if possibleAaron Patterson2010-10-191-2/+2
* Cleanup deprecation warnings in active recordCarlos Antonio da Silva2010-09-061-5/+0
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-12/+12
* commit review: applies guidelines to "# =>"Xavier Noria2010-08-121-2/+2
* updating documentation for named_scope and default_scopeNeeraj Singh2010-08-121-0/+9
* ensuring that description does not exceed 100 columnsNeeraj Singh2010-08-021-9/+12
* adding a reader for loaded, initializing @loaded to falseAaron Patterson2010-07-201-1/+1
* Make use of redefine_method, removed some more redefining warningsŁukasz Strzałkowski2010-07-191-1/+1
* Make relation a private method.José Valim2010-07-011-1/+1
* Add scoping and unscoped as the syntax to replace the old with_scope and with...José Valim2010-06-291-11/+22
* All scopes are now cross-referenced.Rizwan Reza2010-06-211-4/+4
* Adds backslash to scope for cross-references.Rizwan Reza2010-06-161-1/+1
* Adds title and minor changes.Rizwan Reza2010-06-161-4/+7
* STI should not ignore type condition while applying scopes from parent class ...Neeraj Singh2010-05-151-5/+1
* moves Object#singleton_class to Kernel#singleton_class to match Ruby also the...Xavier Noria2010-04-051-1/+1
* Improve scope docsPratik Naik2010-04-031-30/+14
* Improve named scope lambdaPratik Naik2010-04-031-13/+4
* Remove unnecessary argument for creating scopesPratik Naik2010-04-031-4/+4
* Goodbye ActiveRecord::NamedScope::ScopePratik Naik2010-04-021-35/+17
* Make Relation#first and Relation#last behave like named scope'sPratik Naik2010-04-021-16/+0
* Scope#method_missing can safely rely on Relation#method_missingPratik Naik2010-04-021-10/+0
* Scope#current_scoped_methods_when_defined is no longer neededPratik Naik2010-04-021-13/+2
* Add Relation extensionsPratik Naik2010-04-021-5/+2
* Named scopes shouldn't test equality using to_a if it's not an Array, this wa...Emilio Tagua2010-03-301-1/+8
* defining a named_scope which overwrites an existing method is now allowed we ...Matthew Rudy Jacobs2010-03-281-1/+2
* adds missing requires for Object#blank? and Object#present?Xavier Noria2010-03-281-0/+1
* removing spawn from SpawnMethodsAaron Patterson2010-03-101-1/+1
* Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice.Jeremy Kemper2010-02-251-2/+2
* 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