提交 cf3f1c9b 编写于 作者: V Vishnu Atrai

remove deprication warning for ruby 1.9.3-head for unused variables

上级 bdbf97c2
......@@ -577,7 +577,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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册