diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2014-07-05 13:24:24 -0700 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2014-07-05 13:57:16 -0700 |
commit | c031016558d7be757c9216186670bf3418a1a6ae (patch) | |
tree | ad2b709b6dafa9dcdb7ec238feaaabad582681aa /activerecord/lib/active_record/connection_adapters | |
parent | 6787507883972bc3acb83c105fb753a8ca69fd1e (diff) | |
download | rails-c031016558d7be757c9216186670bf3418a1a6ae.tar.gz rails-c031016558d7be757c9216186670bf3418a1a6ae.tar.bz2 rails-c031016558d7be757c9216186670bf3418a1a6ae.zip |
Fix mysql/mysql2 failing with FK constraint errors
One of the author fixture we have ("david") references an author address by ID.
Since we disable FK checks when inserting fixtures, this is all fine until we
try to update it, at which point MySQL would complain about the missing row
referenced by the `author_address_id`.
[Godfrey Chan, Matthew Draper]
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
0 files changed, 0 insertions, 0 deletions