diff options
Diffstat (limited to 'railties/lib/generators/migration.rb')
-rw-r--r-- | railties/lib/generators/migration.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/generators/migration.rb b/railties/lib/generators/migration.rb index 7014e6deda..0a9151ecdf 100644 --- a/railties/lib/generators/migration.rb +++ b/railties/lib/generators/migration.rb @@ -22,7 +22,7 @@ module Rails # # migration_template "migration.rb", "db/migrate/add_foo_to_bar.rb" # - def migration_template(source, destination=nil, log_status=true) + def migration_template(source, destination=nil, config={}) destination = File.expand_path(destination || source, self.destination_root) migration_dir = File.dirname(destination) @@ -37,7 +37,7 @@ module Rails destination = File.join(migration_dir, "#{@migration_number}_#{@migration_file_name}.rb") end - template(source, destination, log_status) + template(source, destination, config) end protected |