aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/active_model_helper.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2016-06-21 08:39:05 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-01-16 22:44:35 +0900
commit974f5fbbc2cc473541492bcd21c4128cbfa276a1 (patch)
treec13fe06331117ec72767927d73fcd798e75e297b /actionview/lib/action_view/helpers/active_model_helper.rb
parentf5d66cb3e5fc48c89c41c522804b70f3e5fcbc47 (diff)
downloadrails-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 'actionview/lib/action_view/helpers/active_model_helper.rb')
0 files changed, 0 insertions, 0 deletions