method

index_name_options

Importance_0
v8.0.0 - Show latest stable - 0 notes - Class: LegacyIndexName
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/migration/compatibility.rb, line 57
            def index_name_options(column_names)
              if expression_column_name?(column_names)
                column_names = column_names.scan(/\w+/).join("_")
              end

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