diff options
author | Joe Rafaniello <jrafanie@gmail.com> | 2012-08-18 11:10:06 -0400 |
---|---|---|
committer | Joe Rafaniello <jrafanie@gmail.com> | 2012-08-18 11:21:10 -0400 |
commit | 066ecf00372d2c161a7a200f1347ec3210768a9b (patch) | |
tree | 620c75876ab1f35d3f911a76b7a93281ab4f4d33 /activerecord/lib/active_record/connection_adapters | |
parent | d6dbd7fbbcb38c7d34a0928bde2bfc7ce21618f0 (diff) | |
download | rails-066ecf00372d2c161a7a200f1347ec3210768a9b.tar.gz rails-066ecf00372d2c161a7a200f1347ec3210768a9b.tar.bz2 rails-066ecf00372d2c161a7a200f1347ec3210768a9b.zip |
Table#remove passed an array to remove_column, which is deprecated.
See 02ca9151a043a4fefbb3f22edd05f0cd392fffaa
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb index 132ca10f79..ddb6896257 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb @@ -391,7 +391,7 @@ module ActiveRecord # t.remove(:qualification) # t.remove(:qualification, :experience) def remove(*column_names) - @base.remove_column(@table_name, column_names) + @base.remove_column(@table_name, *column_names) end # Removes the given index from the table. |