diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-06-21 08:39:05 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-01-16 22:44:35 +0900 |
commit | 974f5fbbc2cc473541492bcd21c4128cbfa276a1 (patch) | |
tree | c13fe06331117ec72767927d73fcd798e75e297b /activerecord/test/cases/fixture_set/file_test.rb | |
parent | f5d66cb3e5fc48c89c41c522804b70f3e5fcbc47 (diff) | |
download | rails-974f5fbbc2cc473541492bcd21c4128cbfa276a1.tar.gz rails-974f5fbbc2cc473541492bcd21c4128cbfa276a1.tar.bz2 rails-974f5fbbc2cc473541492bcd21c4128cbfa276a1.zip |
Translate Foreign Key violation to the specific exception for SQLite3 adapter
Raise `ActiveRecord::InvalidForeignKey` when a record cannot be inserted
or updated because it references a non-existent record for SQLite3
adapter.
Diffstat (limited to 'activerecord/test/cases/fixture_set/file_test.rb')
0 files changed, 0 insertions, 0 deletions