aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/suppressor_test.rb
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-07-20 07:38:26 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-07-20 07:38:26 +0900
commit292be1b7de488fb8c81d65cc68525d1d78f53c67 (patch)
treebf2bb3f48936b8c48ff564031508b07772ce81d2 /activerecord/test/cases/suppressor_test.rb
parent526d4b8dc816c17e354e2e0243af16d10147c3f0 (diff)
downloadrails-292be1b7de488fb8c81d65cc68525d1d78f53c67.tar.gz
rails-292be1b7de488fb8c81d65cc68525d1d78f53c67.tar.bz2
rails-292be1b7de488fb8c81d65cc68525d1d78f53c67.zip
Use `ArgumentError` instead of own error class
If the argument is invalid, I think that it is more intuitive to use `ArgumentError` than its own error class.
Diffstat (limited to 'activerecord/test/cases/suppressor_test.rb')
0 files changed, 0 insertions, 0 deletions