File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
railties/lib/rails/generators Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ module Rails
7
7
module Generators
8
8
# Holds common methods for migrations. It assumes that migrations have the
9
9
# [0-9]*_name format and can be used by other frameworks (like Sequel)
10
- # just by implementing the next migration version method.
10
+ # just by implementing the +next_migration_number+ method.
11
11
module Migration
12
12
extend ActiveSupport ::Concern
13
13
attr_reader :migration_number , :migration_file_name , :migration_class_name
@@ -46,10 +46,10 @@ def set_migration_assigns!(destination)
46
46
end
47
47
48
48
# Creates a migration template at the given destination. The difference
49
- # to the default template method is that the migration version is appended
49
+ # to the default template method is that the migration number is prepended
50
50
# to the destination file name.
51
51
#
52
- # The migration version , migration file name, migration class name are
52
+ # The migration number , migration file name, migration class name are
53
53
# available as instance variables in the template to be rendered.
54
54
#
55
55
# migration_template "migration.rb", "db/migrate/add_foo_to_bar.rb"
You can’t perform that action at this time.
0 commit comments