diff options
author | yui-knk <spiketeika@gmail.com> | 2015-08-24 21:21:44 +0900 |
---|---|---|
committer | yui-knk <spiketeika@gmail.com> | 2015-08-24 21:21:44 +0900 |
commit | 454e0c1c8df143f95d5e2d77e669792857906fab (patch) | |
tree | 0401f3e0d0422d07e828d85830aab7f3a9780b27 | |
parent | b9825801e2cbb39fafc761ea24667e714d3cee2f (diff) | |
download | rails-454e0c1c8df143f95d5e2d77e669792857906fab.tar.gz rails-454e0c1c8df143f95d5e2d77e669792857906fab.tar.bz2 rails-454e0c1c8df143f95d5e2d77e669792857906fab.zip |
[ci skip] Fix migration file's timestamp
In rails generally migration file's timestamp is "YYYYMMDDHHMMSS".
-rw-r--r-- | activerecord/lib/active_record/migration.rb | 2 | ||||
-rw-r--r-- | guides/source/active_record_migrations.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index 04c6124eef..923dc1799a 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -459,7 +459,7 @@ module ActiveRecord # Or equivalently, if +TenderloveMigration+ is defined as in the # documentation for Migration: # - # require_relative '2012121212_tenderlove_migration' + # require_relative '20121212123456_tenderlove_migration' # # class FixupTLMigration < ActiveRecord::Migration # def change diff --git a/guides/source/active_record_migrations.md b/guides/source/active_record_migrations.md index 4e5902fb3d..67cd86c19b 100644 --- a/guides/source/active_record_migrations.md +++ b/guides/source/active_record_migrations.md @@ -652,7 +652,7 @@ can't be done. You can use Active Record's ability to rollback migrations using the `revert` method: ```ruby -require_relative '2012121212_example_migration' +require_relative '20121212123456_example_migration' class FixupExampleMigration < ActiveRecord::Migration def change |