rails/railties/test/application/rake
Adrianna Chang 06b7e345af
Add active_record.config.validate_migration_timestamps config option.
When set, an `ActiveRecord::InvalidMigrationTimestampError` will be raised if the timestamp
prefix for a migration is more than a day ahead of the timestamp associated with the current time.
This is done to prevent forward-dating of migration files, which can impact migration generation
and other migration commands.

It is turned off by default, but will be turned on for applications starting in Rails 7.2.
2024-02-08 12:14:26 -05:00
..
dbs_test.rb Fix Railties tests 2023-11-30 11:11:23 -05:00
framework_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
log_test.rb Revert "Avoid chdir error in Railties tests on Ruby master" 2020-12-26 15:01:24 +09:00
migrations_test.rb Add active_record.config.validate_migration_timestamps config option. 2024-02-08 12:14:26 -05:00
multi_dbs_test.rb Add active_record.config.validate_migration_timestamps config option. 2024-02-08 12:14:26 -05:00
tmp_test.rb rails tmp:clear: clear tmp/storage 2021-05-28 22:34:49 -04:00