aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/scoping
Commit message (Expand)AuthorAgeFilesLines
* Eliminate instance level writers for class accessorsAaron Patterson2016-01-221-1/+1
* Do not omit parentheses [ci skip]Ryuta Kamizono2015-10-251-1/+1
* applies new doc guidelines to Active Record.Yves Senn2015-10-142-16/+18
* Modify the scope method documentationTommaso Visconti2015-10-081-3/+8
* Merge pull request #21522 from tgxworld/scope_perfRafael Mendonça França2015-09-071-1/+8
|\
| * Cache check if `default_scope` has been overridden.Guo Xiang Tan2015-09-071-1/+8
* | PERF: Don't create a Relation when it is not needed.Guo Xiang Tan2015-09-071-1/+2
|/
* Prevent duplicating `where` clauses when model is extended from an abstract c...Mehmet Emin İNAÇ2015-04-151-0/+1
* Fix eager loading association using default_scope for finder methods.Santosh Wadghule2015-03-311-1/+1
* Isolate access to .default_scopes in ActiveRecord::Scoping::DefaultBen Woosley2015-03-122-11/+5
* `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
* Merge pull request #14544 from jefflai2/named_scope_stiRafael Mendonça França2014-05-201-2/+6
|\
| * Fixes Issue #13466.Jefferson Lai2014-04-231-2/+6
* | Merge pull request #14154 from al2o3cr/issue12770Aaron Patterson2014-03-271-3/+3
|\ \ | |/ |/|
| * Pass a base relation to build_default_scope when joiningMatt Jones2014-02-211-3/+3
* | fix typo app -> alldmathieu2014-03-071-1/+1
* | unscope doesn't remove only the default_scope, but all of them.dmathieu2014-03-071-4/+5
|/
* `scope` now raises on "dangerous" name conflictsGodfrey Chan2014-01-291-0/+6
* Don't need to check if the scope respond to callRafael Mendonça França + Kassio Borges2013-08-311-5/+1
* 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
* calling default_scope without a proc will raise ArgumentErrorNeeraj Singh2013-07-021-3/+2
* Removed deprecated method default_scopes?Neeraj Singh2013-07-011-8/+0
* Simplify/fix implementation of default scopesJon Leighton2013-06-281-10/+6
* Delegating the value getter and setters in the ScopeRegistry to thewangjohn2013-04-081-2/+2
* Grouping thread locals in the ActiveRecord scopes so that thewangjohn2013-04-081-2/+2
* Deprecate ActiveRecord#Base.default_scopes?Agis-2013-04-061-1/+10
* Fix scope chaining + STIJon Leighton2013-04-051-7/+2
* unscoped works with named scope [ci skip]Neeraj Singh2013-03-231-8/+0
* 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
* Refactor to use each_key, remove extra spacesCarlos Antonio da Silva2013-01-281-3/+1
* 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-302-4/+2
* Provide a call stack for deprecation warnings where needed.Nikita Afanasenko2012-10-292-2/+4
* update AR::Scoping documentation [ci skip]Francesco Rodriguez2012-09-212-91/+77
* load active_support/deprecation in active_support/railsXavier Noria2012-08-022-2/+0
* load active_support/core_ext/class/attribute in active_support/railsXavier Noria2012-08-021-1/+0
* load active_support/concern 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
* remove :nodoc: of AR::Scoping#unscoped [ci skip]Francesco Rodriguez2012-07-011-4/+4
* Simplify AR configuration code.Jon Leighton2012-06-151-1/+1