class method
self.validate_migration_timestamps
Ruby on Rails 7.2.3
Since v7.2.3Specify 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.
Source
# File activerecord/lib/active_record.rb, line 410
singleton_class.attr_accessor :validate_migration_timestamps
Defined in activerecord/lib/active_record.rb line 410
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord