From e25185622a916ccdc3623b54a479482bfc9d14cc Mon Sep 17 00:00:00 2001 From: Paul Nikitochkin Date: Fri, 25 Oct 2013 12:16:00 +0300 Subject: Fix migration docs to use new remove_column semantics Fixes: #12640 --- activerecord/lib/active_record/migration.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activerecord') 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. # * change_column(table_name, column_name, type, options): Changes # the column to a different type using the same parameters as add_column. - # * remove_column(table_name, column_names): Removes the column listed in - # +column_names+ from the table called +table_name+. + # * remove_column(table_name, column_name, type, options): Removes the column + # named +column_name+ from the table called +table_name+. # * add_index(table_name, column_names, options): Adds a new index # with the name of the column. Other options include # :name, :unique (e.g. -- cgit v1.2.3