diff options
author | Akira Matsuda <ronnie@dio.jp> | 2011-05-29 04:30:22 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2011-05-29 04:30:22 +0900 |
commit | bcb466c543451dce69403aaae047295758589d8e (patch) | |
tree | c9db989679661ffb014201209d4b9397d0699836 /activerecord/lib/active_record/connection_adapters | |
parent | d8f498886726478d8df219f49c9b42e99218b9d6 (diff) | |
download | rails-bcb466c543451dce69403aaae047295758589d8e.tar.gz rails-bcb466c543451dce69403aaae047295758589d8e.tar.bz2 rails-bcb466c543451dce69403aaae047295758589d8e.zip |
No need to pass options which is never used
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb index a754f46af0..74c07c624d 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb @@ -161,7 +161,7 @@ module ActiveRecord yield td if block_given? if options[:force] && table_exists?(table_name) - drop_table(table_name, options) + drop_table(table_name) end create_sql = "CREATE#{' TEMPORARY' if options[:temporary]} TABLE " @@ -253,7 +253,7 @@ module ActiveRecord end # Drops a table from the database. - def drop_table(table_name, options = {}) + def drop_table(table_name) execute "DROP TABLE #{quote_table_name(table_name)}" end |