Flowdock
method

index_name_options

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::SchemaStatements
index_name_options(column_names) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb, line 1258
      def index_name_options(column_names) # :nodoc:
        if column_names.is_a?(String)
          column_names = column_names.scan(/\w+/).join('_')
        end

        { column: column_names }
      end
Register or log in to add new notes.