No need to pass options which is never used

This commit is contained in:
Akira Matsuda
2011-05-29 04:30:22 +09:00
parent d8f4988867
commit bcb466c543

View File

@@ -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