diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-07-30 04:49:20 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2019-07-30 04:54:55 +0900 |
commit | fff120c7522c1c038afaf64e4e83b9d242ca4afb (patch) | |
tree | 5c89d9c6a04f5a9a8ba7b9573f098f967b3ba5b1 /actionview/test/activerecord/relation_cache_test.rb | |
parent | 8d2e75e84cf78123d5b89e7bab727ad7499ddfa4 (diff) | |
download | rails-fff120c7522c1c038afaf64e4e83b9d242ca4afb.tar.gz rails-fff120c7522c1c038afaf64e4e83b9d242ca4afb.tar.bz2 rails-fff120c7522c1c038afaf64e4e83b9d242ca4afb.zip |
Add `silence_warnings` for defining 'not_' prefix enum elements
To suppress the following warnings in tests.
```
~/rails/activerecord/lib/active_record/scoping/named.rb:190: warning: method redefined; discarding old not_sent
~/rails/activerecord/lib/active_record/scoping/named.rb:190: warning: previous definition of not_sent was here
```
Diffstat (limited to 'actionview/test/activerecord/relation_cache_test.rb')
0 files changed, 0 insertions, 0 deletions