diff options
author | José Valim <jose.valim@gmail.com> | 2009-07-15 20:16:37 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-07-15 20:16:37 +0200 |
commit | b4ef958de6b16294094de28d00ba25fe2f48accc (patch) | |
tree | 89ccd25109c5095125faeab8d5fcc318fa94ceb2 /railties/lib/generators/migration.rb | |
parent | baa4781ac7174e527c2471b4c86ea51c0f65cf6b (diff) | |
download | rails-b4ef958de6b16294094de28d00ba25fe2f48accc.tar.gz rails-b4ef958de6b16294094de28d00ba25fe2f48accc.tar.bz2 rails-b4ef958de6b16294094de28d00ba25fe2f48accc.zip |
Change false to :verbose => false as in new Thor version.
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 |