method

validate_migration_timestamps

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.

validate_migration_timestamps
public

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.