From 031b62c0e20b8333a07d6635406a36edc840801b Mon Sep 17 00:00:00 2001 From: Aleksandar Diklic Date: Fri, 22 May 2015 12:41:31 +0200 Subject: Fix typo [ci skip] `remove_index` works with multiple column names as `add_index` --- activerecord/lib/active_record/migration.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activerecord') diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index 192a456846..b5d7abf41b 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -138,8 +138,8 @@ module ActiveRecord # :name, :unique (e.g. # { name: 'users_name_index', unique: true }) and :order # (e.g. { order: { name: :desc } }). - # * remove_index(table_name, column: column_name): Removes the index - # specified by +column_name+. + # * remove_index(table_name, column: column_names): Removes the index + # specified by +column_names+. # * remove_index(table_name, name: index_name): Removes the index # specified by +index_name+. # -- cgit v1.2.3