aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-12-21 19:54:44 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-12-21 19:54:44 -0200
commit29762822517abe1c3218b23525250826f3c80da6 (patch)
tree25b0845bab13919c974138f5b3b6e5def4605843 /activerecord
parent68e91da765565f0c473463b0b47814592dea5de3 (diff)
downloadrails-29762822517abe1c3218b23525250826f3c80da6.tar.gz
rails-29762822517abe1c3218b23525250826f3c80da6.tar.bz2
rails-29762822517abe1c3218b23525250826f3c80da6.zip
Fix calling quote column name in interpolated string
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
index f2d6eb9d27..cdc8433185 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
@@ -339,7 +339,7 @@ module ActiveRecord
# to provide these in a migration's +change+ method so it can be reverted.
# In that case, +type+ and +options+ will be used by add_column.
def remove_column(table_name, column_name, type = nil, options = {})
- execute "ALTER TABLE #{quote_table_name(table_name)} DROP #{quote_column_name{column_name}}"
+ execute "ALTER TABLE #{quote_table_name(table_name)} DROP #{quote_column_name(column_name)}"
end
# Changes the column's definition according to the new options.