method
validate_migration_timestamps
v8.0.0 -
Show latest stable
- Class:
ActiveRecord
validate_migration_timestampspublic
Specify whether or not to validate migration timestamps. When set, an error will be raised if a timestamp is more than a day ahead of the timestamp associated with the current time. timestamped_migrations must be set to true.