aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-10-25 05:10:37 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-10-25 05:10:37 -0700
commit03deb47764b08453ed072fb70f66614ffca25fd5 (patch)
tree2077de79ce870450289368134db66273535d1111 /activerecord/lib
parentabeff5e64553ad5491a1663d124bfe9582a5f61e (diff)
parente25185622a916ccdc3623b54a479482bfc9d14cc (diff)
downloadrails-03deb47764b08453ed072fb70f66614ffca25fd5.tar.gz
rails-03deb47764b08453ed072fb70f66614ffca25fd5.tar.bz2
rails-03deb47764b08453ed072fb70f66614ffca25fd5.zip
Merge pull request #12641 from jetthoughts/12640_updated_migrations_doc_to_use_remove_column
Fix migration docs to use new remove_column semantics
Diffstat (limited to 'activerecord/lib')
-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.