aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/scoping/named.rb
Commit message (Expand)AuthorAgeFilesLines
* applies new string literal convention in activerecord/libXavier Noria2016-08-061-4/+4
* Revert "Remove valid_scope_name? check - use ruby"Akira Matsuda2016-01-281-0/+10
* applies new doc guidelines to Active Record.Yves Senn2015-10-141-13/+15
* Modify the scope method documentationTommaso Visconti2015-10-081-3/+8
* Isolate access to .default_scopes in ActiveRecord::Scoping::DefaultBen Woosley2015-03-121-11/+0
* `current_scope` shouldn't pollute sibling STI classesSean Griffin2015-02-111-4/+13
* Stoping using Relation#merge in default_scopedRafael Mendonça França2015-02-061-1/+7
* Follow the coding conventionsAndrey Deryabin2014-11-121-1/+1
* Merge pull request #17374 from maurogeorge/scope-exceptionYves Senn2014-10-271-0/+4
|\
| * Raises ArgumentError when try to define a scope without a callableMauro George2014-10-231-0/+3
|/
* Revert "Merge pull request #14544 from jefflai2/named_scope_sti"Rafael Mendonça França2014-05-211-6/+2
* Fixes Issue #13466.Jefferson Lai2014-04-231-2/+6
* `scope` now raises on "dangerous" name conflictsGodfrey Chan2014-01-291-0/+6
* Remove deprecated branch on the scope method.Rafael Mendonça França2013-08-051-6/+2
* Remove deprecated `scope` use without passing a callable object.Arun Agrawal2013-07-031-13/+0
* Simplify/fix implementation of default scopesJon Leighton2013-06-281-10/+6
* Fix scope chaining + STIJon Leighton2013-04-051-7/+2
* Update test name to reflect change in how scopes merging worksCarlos Antonio da Silva2013-03-081-1/+0
* Combine scope conditions using ANDNeeraj Singh and John Leighton2013-03-071-3/+13
* Fix named scope + class method exampleCarlos Antonio da Silva2013-01-071-3/+1
* Replace comments' non-breaking spaces with spacesclaudiob2012-12-041-2/+2
* Make caller attribute in deprecation methods optionalAlexey Gaziev2012-10-301-2/+1
* Provide a call stack for deprecation warnings where needed.Nikita Afanasenko2012-10-291-1/+2
* update AR::Scoping documentation [ci skip]Francesco Rodriguez2012-09-211-65/+48
* load active_support/deprecation in active_support/railsXavier Noria2012-08-021-1/+0
* load active_support/core_ext/class/attribute in active_support/railsXavier Noria2012-08-021-1/+0
* load active_support/core_ext/object/blank in active_support/railsXavier Noria2012-08-021-1/+0
* Deprecate ActiveRecord::Base.scoped.Jon Leighton2012-07-271-5/+1
* ActiveRecord::Base.all returns a Relation.Jon Leighton2012-07-271-11/+8
* extract deprecated codeJon Leighton2012-04-251-4/+2
* Extract deprecated codeJon Leighton2012-04-251-9/+8
* Removes caching from ActiveRecord::Core::ClassMethods#relationBenedikt Deicke2012-04-031-2/+2
* Deprecate eager-evaluated scopes.Jon Leighton2012-03-211-2/+16
* Avoid obscure &Proc.new thingJon Leighton2012-03-211-2/+2
* Remove valid_scope_name? check - use rubyJon Leighton2012-03-211-11/+1
* no need for castJon Leighton2012-03-211-1/+0
* no need for lvarJon Leighton2012-03-211-3/+1
* app code in general wants Time.current, not Time.nowXavier Noria2011-12-281-3/+3
* call scope within unscoped to prevent duplication of where valuesSergey Nartimov2011-12-171-1/+1
* Move DefaultScope and NamedScope under ScopingJon Leighton2011-12-151-0/+202