aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/named_base.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/railties/lib/rails/generators/named_base.rb b/railties/lib/rails/generators/named_base.rb
index fbb747970d..e712c747b0 100644
--- a/railties/lib/rails/generators/named_base.rb
+++ b/railties/lib/rails/generators/named_base.rb
@@ -19,9 +19,7 @@ module Rails
end
# Defines the template that would be used for the migration file.
- # The source defines the source template file that would be used in creating the migration
- # The args is an array containing any other options and the name of the file which would be saved on the filesystem
-
+ # The arguments include the source template file, the migration filename etc.
no_tasks do
def template(source, *args, &block)
inside_template do