diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-06-19 11:51:18 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-06-19 11:51:18 +0200 |
commit | ad9290d01b60c09c83b3a06ae4affc992e61df48 (patch) | |
tree | 3548c5f7bed0baf78110229acac1fe7dd7076060 /activerecord | |
parent | e97b8cb15f59cff0943056772258ae16c7d9e7d8 (diff) | |
parent | 031b62c0e20b8333a07d6635406a36edc840801b (diff) | |
download | rails-ad9290d01b60c09c83b3a06ae4affc992e61df48.tar.gz rails-ad9290d01b60c09c83b3a06ae4affc992e61df48.tar.bz2 rails-ad9290d01b60c09c83b3a06ae4affc992e61df48.zip |
Merge pull request #20259 from rastasheep/rastasheep-patch-1
Update documentation for ActiveRecord::Migration#remove_index
Diffstat (limited to 'activerecord')
-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 1e0c04cd23..d41b7e88d5 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+. # * <tt>add_reference(:table_name, :reference_name)</tt>: Adds a new column |