diff options
author | Lauro Caetano <laurocaetano1@gmail.com> | 2014-03-26 22:23:42 -0300 |
---|---|---|
committer | Lauro Caetano <laurocaetano1@gmail.com> | 2014-03-27 00:10:20 -0300 |
commit | ff8f9f09f487cf1965921da74c4b2bffa15a2bb6 (patch) | |
tree | b6cbbcee010dcfea59452c8ebbf2a5ba74dcb9b7 /activerecord/lib/active_record/associations.rb | |
parent | 8a081db3575431380592ce2b8f0045e627a4e664 (diff) | |
download | rails-ff8f9f09f487cf1965921da74c4b2bffa15a2bb6.tar.gz rails-ff8f9f09f487cf1965921da74c4b2bffa15a2bb6.tar.bz2 rails-ff8f9f09f487cf1965921da74c4b2bffa15a2bb6.zip |
Add a test case for save(validate:false) with invalid foreign key.
It is supposed to raise ActiveRecord::InvalidForeignKey when the
database has a fk constraint.
Diffstat (limited to 'activerecord/lib/active_record/associations.rb')
0 files changed, 0 insertions, 0 deletions