aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2011-11-07 14:03:33 +0900
committerAkira Matsuda <ronnie@dio.jp>2011-11-07 14:03:33 +0900
commitaff9e68cb5996c95bc5c7304d996343ea2382d3b (patch)
tree552847cc1e8a8b814a5d4884f7147080aeb2e159
parent55b203dac1eb4b3430b313112b8d5a53b1016b4e (diff)
downloadrails-aff9e68cb5996c95bc5c7304d996343ea2382d3b.tar.gz
rails-aff9e68cb5996c95bc5c7304d996343ea2382d3b.tar.bz2
rails-aff9e68cb5996c95bc5c7304d996343ea2382d3b.zip
document fix: remove_column takes multiple column_names
-rw-r--r--activerecord/lib/active_record/migration.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb
index 2fb1b8f7a3..d70c7d1d34 100644
--- a/activerecord/lib/active_record/migration.rb
+++ b/activerecord/lib/active_record/migration.rb
@@ -112,8 +112,8 @@ module ActiveRecord
# 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.