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 c90bca7572 Improve deprecation message for leaking scope
Follow up of #35280.

If a model has default scopes, vanilla `klass.all` is not the same with
`klass.unscoped`.

In that case, we should use `klass.default_scoped` instead.
2019-11-15 18:26:19 +09:00
..
default.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
named.rb Improve deprecation message for leaking scope 2019-11-15 18:26:19 +09:00