Skip to content

Commit ad9290d

Browse files
committed
Merge pull request rails#20259 from rastasheep/rastasheep-patch-1
Update documentation for ActiveRecord::Migration#remove_index
2 parents e97b8cb + 031b62c commit ad9290d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

activerecord/lib/active_record/migration.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ def initialize
138138
# <tt>:name</tt>, <tt>:unique</tt> (e.g.
139139
# <tt>{ name: 'users_name_index', unique: true }</tt>) and <tt>:order</tt>
140140
# (e.g. <tt>{ order: { name: :desc } }</tt>).
141-
# * <tt>remove_index(table_name, column: column_name)</tt>: Removes the index
142-
# specified by +column_name+.
141+
# * <tt>remove_index(table_name, column: column_names)</tt>: Removes the index
142+
# specified by +column_names+.
143143
# * <tt>remove_index(table_name, name: index_name)</tt>: Removes the index
144144
# specified by +index_name+.
145145
# * <tt>add_reference(:table_name, :reference_name)</tt>: Adds a new column

0 commit comments

Comments
 (0)