method
options_for_index_columns
v7.1.3.4 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::SchemaStatements
options_for_index_columns(options)private
No documentation available.
# File activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb, line 1589
def options_for_index_columns(options)
if options.is_a?(Hash)
options.symbolize_keys
else
Hash.new { |hash, column| hash[column] = options }
end
end