aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/migration/command_recorder.rb
diff options
context:
space:
mode:
authorkennyj <kennyj@gmail.com>2012-01-04 10:25:15 +0900
committerkennyj <kennyj@gmail.com>2012-01-04 10:25:15 +0900
commit28afb01fe389db0505dd8f3e6a061e645273883d (patch)
treea39b6353286ebd75e1fcff55ed134a093a39348c /activerecord/lib/active_record/migration/command_recorder.rb
parent00c5342d96a3677c0a6a2bb8316c76182f5bdfdd (diff)
downloadrails-28afb01fe389db0505dd8f3e6a061e645273883d.tar.gz
rails-28afb01fe389db0505dd8f3e6a061e645273883d.tar.bz2
rails-28afb01fe389db0505dd8f3e6a061e645273883d.zip
Fix GH #4285. Remove options when we record calling creat_table
Diffstat (limited to 'activerecord/lib/active_record/migration/command_recorder.rb')
-rw-r--r--activerecord/lib/active_record/migration/command_recorder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration/command_recorder.rb b/activerecord/lib/active_record/migration/command_recorder.rb
index ffee5a081a..4e27293cb4 100644
--- a/activerecord/lib/active_record/migration/command_recorder.rb
+++ b/activerecord/lib/active_record/migration/command_recorder.rb
@@ -59,7 +59,7 @@ module ActiveRecord
private
def invert_create_table(args)
- [:drop_table, args]
+ [:drop_table, [args.first]]
end
def invert_rename_table(args)