method

remove_index

rails latest stable - Class: ActiveRecord::Migration::Compatibility::FourTwoShared

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

remove_index(table_name, options = {})
public

No documentation available.

# File activerecord/lib/active_record/migration/compatibility.rb, line 78
        def remove_index(table_name, options = {})
          options = { column: options } unless options.is_a?(Hash)
          options[:name] = index_name_for_remove(table_name, options)
          super(table_name, options)
        end