Permalink
Browse files

Merge pull request #12641 from jetthoughts/12640_updated_migrations_d…

…oc_to_use_remove_column

Fix migration docs to use new remove_column  semantics
  • Loading branch information...
rafaelfranca committed Oct 25, 2013
2 parents abeff5e + e251856 commit 03deb47764b08453ed072fb70f66614ffca25fd5
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/lib/active_record/migration.rb
@@ -120,8 +120,8 @@ def initialize
# 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.

0 comments on commit 03deb47

Please sign in to comment.