Commit 72b4603a by Jon Moss

Merge pull request #2082 from keram/remove_unused_vars

Remove unused vars `column_(type|options)` from `remove_attachment` method
parents c373542d 51ed1364
......@@ -38,8 +38,7 @@ module Paperclip
options = attachment_names.extract_options!
attachment_names.each do |attachment_name|
COLUMNS.each_pair do |column_name, column_type|
column_options = options.merge(options[column_name.to_sym] || {})
COLUMNS.keys.each do |column_name|
remove_column(table_name, "#{attachment_name}_#{column_name}")
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment