aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/scoping
Commit message (Expand)AuthorAgeFilesLines
* Privatize unneededly protected methods in Active RecordAkira Matsuda2016-12-242-8/+8
* Add missing `+` around a some literals.bogdanvlviv2016-10-271-1/+1
* Fix broken comments indentation caused by rubocop auto-correct [ci skip]Ryuta Kamizono2016-09-141-44/+44
* Merge pull request #26037 from monmonmon/masterRafael França2016-08-171-1/+1
|\
| * Check if the logger exists before trying to use itmonmon2016-08-031-1/+1
* | code gardening: removes redundant selfsXavier Noria2016-08-081-2/+2
* | normalizes indentation and whitespace across the projectXavier Noria2016-08-061-42/+42
* | applies new string literal convention in activerecord/libXavier Noria2016-08-061-4/+4
|/
* Execute default_scope defined by abstract class within the scope of subclassMehmet Emin İNAÇ2016-03-081-1/+2
* Revert "Remove valid_scope_name? check - use ruby"Akira Matsuda2016-01-281-0/+10
* 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-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