diff options
author | kennyj <kennyj@gmail.com> | 2012-01-04 10:25:15 +0900 |
---|---|---|
committer | kennyj <kennyj@gmail.com> | 2012-01-04 14:54:38 +0900 |
commit | 6012970fea9d3385cd0a515aa353b47d0837d55a (patch) | |
tree | 9a47272576e438d68c50901f090bb8379fa6ed11 /activerecord/lib | |
parent | 63f7a61246aa570ed6891cdd225df8d67e4ecc13 (diff) | |
download | rails-6012970fea9d3385cd0a515aa353b47d0837d55a.tar.gz rails-6012970fea9d3385cd0a515aa353b47d0837d55a.tar.bz2 rails-6012970fea9d3385cd0a515aa353b47d0837d55a.zip |
Fix GH #4285. Remove options when we record calling creat_table
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/migration/command_recorder.rb | 2 |
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) |