method

verify_foreign_keys_for_fixtures

rails latest stable - Class: ActiveRecord

Method not available on this version

This method is only available on newer versions. The first available version (v8.0.0) is shown here.

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.