diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-07-16 22:34:51 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-07-18 03:27:55 +0900 |
commit | 972f0d6cb6c9d510b9b32e7f4138184154ab70eb (patch) | |
tree | 8d719cba74fbf68bd0aa0f2cc4338f0e1778bc4a /activerecord/lib/active_record/errors.rb | |
parent | 8acca896cbaa01f6fc51969601888a440e83d53a (diff) | |
download | rails-972f0d6cb6c9d510b9b32e7f4138184154ab70eb.tar.gz rails-972f0d6cb6c9d510b9b32e7f4138184154ab70eb.tar.bz2 rails-972f0d6cb6c9d510b9b32e7f4138184154ab70eb.zip |
`Persistence#delete` should not be affected by scoping
`self.class.delete` is delegated to `all` and `all` is affected by
scoping. It should use `unscoped` to not be affected by that.
Diffstat (limited to 'activerecord/lib/active_record/errors.rb')
0 files changed, 0 insertions, 0 deletions