method

verify_foreign_keys_for_fixtures

verify_foreign_keys_for_fixtures
public

If true, Rails will verify all foreign keys in the database after loading fixtures. An error will be raised if there are any foreign key violations, indicating incorrectly written fixtures. Supported by PostgreSQL and SQLite.