Browse files

Revert "`remove_column` does not take a type argument. [ci skip]. Clo…

…ses #12864"

As of Rails 4.0 `remove_column` is no longer an alias for `remove_columns`.
The type is actually valid and used when issuing a rollback (new `change` method).

This reverts commit 6a5e364.
  • Loading branch information...
1 parent 6a5e364 commit 3964d08132534e829765e0c7db61749b84fd770d @senny senny committed Nov 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/
2 guides/source/
@@ -179,7 +179,7 @@ generates
class RemovePartNumberFromProducts < ActiveRecord::Migration
def change
- remove_column :products, :part_number
+ remove_column :products, :part_number, :string

0 comments on commit 3964d08

Please sign in to comment.