diff options
author | Sebastian Martinez <sebastian@wyeworks.com> | 2011-06-08 23:13:43 -0300 |
---|---|---|
committer | Sebastian Martinez <sebastian@wyeworks.com> | 2011-06-08 23:13:43 -0300 |
commit | 0b86ac244c7ae0c18f7510ef900be84e227f96e4 (patch) | |
tree | c17be35b48a51c7925a742a4550d19e106184041 /activerecord | |
parent | 54b0aeba64db8c52ac8c6cda2aaa81d8717b8549 (diff) | |
download | rails-0b86ac244c7ae0c18f7510ef900be84e227f96e4.tar.gz rails-0b86ac244c7ae0c18f7510ef900be84e227f96e4.tar.bz2 rails-0b86ac244c7ae0c18f7510ef900be84e227f96e4.zip |
Remove unused 'quoted_column_names' variable.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/mysql_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb b/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb index 8d7dd8bacf..9e6cb13cca 100644 --- a/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb @@ -707,7 +707,7 @@ module ActiveRecord 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 |