Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

document fix: remove_column takes multiple column_names

  • Loading branch information...
commit aff9e68cb5996c95bc5c7304d996343ea2382d3b 1 parent 55b203d
@amatsuda amatsuda authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/lib/active_record/migration.rb
4 activerecord/lib/active_record/migration.rb
@@ -112,8 +112,8 @@ def initialize(name)
# a column but keeps the type and content.
# * <tt>change_column(table_name, column_name, type, options)</tt>: Changes
# the column to a different type using the same parameters as add_column.
- # * <tt>remove_column(table_name, column_name)</tt>: Removes the column named
- # +column_name+ from the table called +table_name+.
+ # * <tt>remove_column(table_name, column_names)</tt>: Removes the column listed in
+ # +column_names+ from the table called +table_name+.
# * <tt>add_index(table_name, column_names, options)</tt>: Adds a new index
# with the name of the column. Other options include
# <tt>:name</tt>, <tt>:unique</tt> (e.g.

0 comments on commit aff9e68

Please sign in to comment.
Something went wrong with that request. Please try again.