aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorPaul Nikitochkin <paul.nikitochkin@gmail.com>2013-10-25 12:16:00 +0300
committerPaul Nikitochkin <paul.nikitochkin@gmail.com>2013-10-25 12:16:00 +0300
commite25185622a916ccdc3623b54a479482bfc9d14cc (patch)
treee6119eaa4e568a089da881a8a6119fba688c32b4 /activerecord
parent80e90b0bd0b0cd50a186e314034d68182c045765 (diff)
downloadrails-e25185622a916ccdc3623b54a479482bfc9d14cc.tar.gz
rails-e25185622a916ccdc3623b54a479482bfc9d14cc.tar.bz2
rails-e25185622a916ccdc3623b54a479482bfc9d14cc.zip
Fix migration docs to use new remove_column semantics
Fixes: #12640
Diffstat (limited to 'activerecord')
-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 a1ad4f6255..27d398ad07 100644
--- a/activerecord/lib/active_record/migration.rb
+++ b/activerecord/lib/active_record/migration.rb
@@ -120,8 +120,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_names)</tt>: Removes the column listed in
- # +column_names+ from the table called +table_name+.
+ # * <tt>remove_column(table_name, column_name, type, options)</tt>: Removes the column
+ # named +column_name+ 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.