diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-07-20 07:38:26 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-07-20 07:38:26 +0900 |
commit | 292be1b7de488fb8c81d65cc68525d1d78f53c67 (patch) | |
tree | bf2bb3f48936b8c48ff564031508b07772ce81d2 /activerecord/test/models/admin/account.rb | |
parent | 526d4b8dc816c17e354e2e0243af16d10147c3f0 (diff) | |
download | rails-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/models/admin/account.rb')
0 files changed, 0 insertions, 0 deletions