aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/scoping/named.rb
Commit message (Expand)AuthorAgeFilesLines
* Refactor around scopingRyuta Kamizono2019-02-071-2/+1
* 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
* 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
* `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-191-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* 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
|/
* 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
* | 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-241-2/+2
* Add missing `+` around a some literals.bogdanvlviv2016-10-271-1/+1
* 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
* | 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