diff options
author | Aleksandar Diklic <rastasheep3@gmail.com> | 2015-05-22 12:41:31 +0200 |
---|---|---|
committer | rastasheep <rastasheep3@gmail.com> | 2015-05-22 17:47:44 +0200 |
commit | 031b62c0e20b8333a07d6635406a36edc840801b (patch) | |
tree | c48c6a46ca594194fac4b20f0aa04900186c44f5 /activerecord/lib | |
parent | 3873fc5c1c5836d41b288840773ecd1704953f29 (diff) | |
download | rails-031b62c0e20b8333a07d6635406a36edc840801b.tar.gz rails-031b62c0e20b8333a07d6635406a36edc840801b.tar.bz2 rails-031b62c0e20b8333a07d6635406a36edc840801b.zip |
Fix typo [ci skip]
`remove_index` works with multiple column names as `add_index`
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/migration.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 # <tt>:name</tt>, <tt>:unique</tt> (e.g. # <tt>{ name: 'users_name_index', unique: true }</tt>) and <tt>:order</tt> # (e.g. <tt>{ order: { name: :desc } }</tt>). - # * <tt>remove_index(table_name, column: column_name)</tt>: Removes the index - # specified by +column_name+. + # * <tt>remove_index(table_name, column: column_names)</tt>: Removes the index + # specified by +column_names+. # * <tt>remove_index(table_name, name: index_name)</tt>: Removes the index # specified by +index_name+. # |