aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/scoping
Commit message (Expand)AuthorAgeFilesLines
* Chaining named scope is no longer leaking to class level querying methodsRyuta Kamizono2019-02-061-1/+2
* Module#{define_method,alias_method,undef_method,remove_method} become public ...Ryuta Kamizono2018-12-211-2/+2
* Generate delegation methods to named scope in the definition timeRyuta Kamizono2018-10-091-0/+2
* Don't expose `current_scope` for internal useRyuta Kamizono2018-09-111-8/+6
* Move `scoping` handling into klass level from relationRyuta Kamizono2018-09-111-1/+8
* Remove redundant `all.scoping`Ryuta Kamizono2018-09-111-4/+2
* Bring back private class methods accessibility in named scopeRyuta Kamizono2018-03-271-1/+1
* Prevent scope named same as a ActiveRecord::Relation instance method.Chen Kinnrot2017-11-281-0/+6
* Prevent extra `spawn` to make `klass.all` faster (#29009)Ryuta Kamizono2017-11-201-2/+2
* `scoping` should respect current class and STI constraint (#29199)Ryuta Kamizono2017-11-061-1/+7
* Through scope should not be affected by scopingRyuta Kamizono2017-08-151-0/+10
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-192-0/+4
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-022-2/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-012-0/+2
* Merge pull request #29301 from kamipo/receiver_in_scope_should_be_relationRafael França2017-06-281-1/+1
|\
| * The receiver in a scope should be a `relation`Ryuta Kamizono2017-06-011-1/+1
* | Move constructing polymorphic type to `join_scope` in `Reflection`Ryuta Kamizono2017-06-271-2/+1
* | Fix `default_scoped` with defined `default_scope` on STI modelRyuta Kamizono2017-05-311-1/+5
|/
* Merge pull request #29098 from kamipo/fix_association_with_extension_issuesMatthew Draper2017-05-301-4/+7
|\
| * Extract `default_extensions` to avoid `klass.all`Ryuta Kamizono2017-05-301-0/+8
| * Refactor `default_scoped` to avoid creating extra relation and mergingRyuta Kamizono2017-05-281-7/+2
* | Add option for class_attribute default (#29270)David Heinemeier Hansson2017-05-291-5/+2
* | Enable extending even if scope returns nilRyuta Kamizono2017-05-241-6/+6
|/
* Fix Rubocop violations and fix documentation visibilityRafael Mendonça França2016-12-281-6/+6
* 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
|\