aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/scoping/default.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix `default_scoped` with defined `default_scope` on STI modelRyuta Kamizono2017-05-311-1/+5
* Add option for class_attribute default (#29270)David Heinemeier Hansson2017-05-291-5/+2
* Privatize unneededly protected methods in Active RecordAkira Matsuda2016-12-241-6/+6
* Fix broken comments indentation caused by rubocop auto-correct [ci skip]Ryuta Kamizono2016-09-141-44/+44
* code gardening: removes redundant selfsXavier Noria2016-08-081-2/+2
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-42/+42
* Execute default_scope defined by abstract class within the scope of subclassMehmet Emin İNAÇ2016-03-081-1/+2
* Merge branch '5-0-beta-sec'Aaron Patterson2016-01-251-1/+1
|\
| * Eliminate instance level writers for class accessorsAaron Patterson2016-01-221-1/+1
* | Skip the STI condition when evaluating a default scopeMatthew Draper2016-01-121-2/+2
|/
* Do not omit parentheses [ci skip]Ryuta Kamizono2015-10-251-1/+1
* applies new doc guidelines to Active Record.Yves Senn2015-10-141-3/+3
* 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-121-0/+5
* 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
|/
* Don't need to check if the scope respond to callRafael Mendonça França + Kassio Borges2013-08-311-5/+1
* 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
* 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
* unscoped works with named scope [ci skip]Neeraj Singh2013-03-231-8/+0
* Refactor to use each_key, remove extra spacesCarlos Antonio da Silva2013-01-281-3/+1
* 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-26/+29
* load active_support/deprecation in active_support/railsXavier Noria2012-08-021-1/+0
* load active_support/concern in active_support/railsXavier Noria2012-08-021-1/+0
* remove :nodoc: of AR::Scoping#unscoped [ci skip]Francesco Rodriguez2012-07-011-4/+4
* Simplify AR configuration code.Jon Leighton2012-06-151-1/+1
* extract to active_record_deprecated_findersJon Leighton2012-04-251-6/+5
* giving a hash to default scope should not be deprecated (well, not for this r...Jon Leighton2012-04-251-1/+1
* Corrected grammatical errors in schema_dumper and scoping/defaultdcurtis2012-04-101-1/+1
* Deprecate eager-evaluated scopes.Jon Leighton2012-03-211-10/+15
* Support configuration on ActiveRecord::Model.Jon Leighton2011-12-281-1/+1
* Improve doc for ActiveRecord::Base.unscoped.Hendy Tanata2011-12-181-6/+8
* Move DefaultScope and NamedScope under ScopingJon Leighton2011-12-151-0/+140