mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
On Oracle disable_referential_integrity before execution of block will disable foreign key constraints and after block will enable them but when constraints are enabled then they are validated. Therefore created record with invalid foreign key should be deleted before enabling foreign key constraints.