Browse files

Remove unused 'quoted_column_names' variable.

  • Loading branch information...
1 parent 54b0aeb commit 0b86ac244c7ae0c18f7510ef900be84e227f96e4 @smartinez87 smartinez87 committed Jun 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/connection_adapters/mysql_adapter.rb
View
2 activerecord/lib/active_record/connection_adapters/mysql_adapter.rb
@@ -707,7 +707,7 @@ def limited_update_conditions(where_sql, quoted_table_name, quoted_primary_key)
def quoted_columns_for_index(column_names, options = {})
length = options[:length] if options.is_a?(Hash)
- quoted_column_names = case length
+ case length
when Hash
column_names.map {|name| length[name] ? "#{quote_column_name(name)}(#{length[name]})" : quote_column_name(name) }
when Fixnum

0 comments on commit 0b86ac2

Please sign in to comment.