aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorRizwan Reza <rizwanreza@gmail.com>2010-03-28 12:16:46 +0430
committerRizwan Reza <rizwanreza@gmail.com>2010-03-28 12:16:46 +0430
commit155f0be16ba4600e61e331b00e67d281e0550172 (patch)
tree06c4f0272b07a53228e46a97162fbd133d4db7ba /railties
parentb4c91de9462f59d6395c7c871aafa3301afdc383 (diff)
downloadrails-155f0be16ba4600e61e331b00e67d281e0550172.tar.gz
rails-155f0be16ba4600e61e331b00e67d281e0550172.tar.bz2
rails-155f0be16ba4600e61e331b00e67d281e0550172.zip
Changes migration number to version due to ambiguity. [#3065 state:committed]
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/migration.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/lib/rails/generators/migration.rb b/railties/lib/rails/generators/migration.rb
index 7975326c52..9244307261 100644
--- a/railties/lib/rails/generators/migration.rb
+++ b/railties/lib/rails/generators/migration.rb
@@ -2,7 +2,7 @@ module Rails
module Generators
# Holds common methods for migrations. It assumes that migrations has the
# [0-9]*_name format and can be used by another frameworks (like Sequel)
- # just by implementing the next migration number method.
+ # just by implementing the next migration version method.
#
module Migration
attr_reader :migration_number, :migration_file_name, :migration_class_name
@@ -32,10 +32,10 @@ module Rails
end
# Creates a migration template at the given destination. The difference
- # to the default template method is that the migration number is appended
+ # to the default template method is that the migration version is appended
# to the destination file name.
#
- # The migration number, migration file name, migration class name are
+ # The migration version, migration file name, migration class name are
# available as instance variables in the template to be rendered.
#
# ==== Examples