1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/active_record/scoping
Ryuta Kamizono 7cc96c9a9d Expose klass.default_scoped as public API
`default_scoped` is an only way to enforce returning a scope with
default scopes in a scoping, and it is needed for migration to avoid
leaking scope (#35280, #37727).

Closes #38241.
2020-01-27 10:01:05 +09:00
..
default.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
named.rb Expose klass.default_scoped as public API 2020-01-27 10:01:05 +09:00