diff options
author | José Valim <jose.valim@gmail.com> | 2012-01-03 23:43:26 -0800 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2012-01-03 23:43:26 -0800 |
commit | a10f30963d9dfb8b470e2ec5e293b20be8fcbe3d (patch) | |
tree | 9a47272576e438d68c50901f090bb8379fa6ed11 /activerecord/lib | |
parent | 63f7a61246aa570ed6891cdd225df8d67e4ecc13 (diff) | |
parent | 6012970fea9d3385cd0a515aa353b47d0837d55a (diff) | |
download | rails-a10f30963d9dfb8b470e2ec5e293b20be8fcbe3d.tar.gz rails-a10f30963d9dfb8b470e2ec5e293b20be8fcbe3d.tar.bz2 rails-a10f30963d9dfb8b470e2ec5e293b20be8fcbe3d.zip |
Merge pull request #4288 from kennyj/fix_4285-2
(3-2-stable) Fix GH #4285. Remove options when we record calling create_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) |