diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-06-21 00:38:48 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-12-06 16:51:20 +0900 |
commit | b270bc4ad021f051214420de1278627b1924b3b3 (patch) | |
tree | 2e977be2166a36858fd9fc657baebac8c934fbf8 /railties | |
parent | e10617303475488974fbe635d427f793faeb3f05 (diff) | |
download | rails-b270bc4ad021f051214420de1278627b1924b3b3.tar.gz rails-b270bc4ad021f051214420de1278627b1924b3b3.tar.bz2 rails-b270bc4ad021f051214420de1278627b1924b3b3.zip |
Translate NOT NULL violation to the specific exception
Raise `ActiveRecord::NotNullViolation` when a record cannot be inserted
or updated because it would violate a not null constraint.
Diffstat (limited to 'railties')
0 files changed, 0 insertions, 0 deletions