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 23ca708732b1ed37d972ae0c1d0b0a7632f6a4ee 1 parent 510e49b
@amatsuda amatsuda authored vijaydev committed
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> and <tt>:unique</tt> (e.g.

0 comments on commit 23ca708

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