From 88de317992a3de52d46dbdb389105413f4573c8c Mon Sep 17 00:00:00 2001 From: Alberto Almagro Date: Fri, 14 Jun 2019 16:00:10 +0200 Subject: [ci skip] Update docs as `remove_column` can be reversed As `remove_column` can be reversed when a type is provided this example was not accurate anymore. --- activerecord/lib/active_record/migration.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index fa9b650416..f067e17f88 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -494,9 +494,9 @@ module ActiveRecord # This migration will create the horses table for you on the way up, and # automatically figure out how to drop the table on the way down. # - # Some commands like +remove_column+ cannot be reversed. If you care to - # define how to move up and down in these cases, you should define the +up+ - # and +down+ methods as before. + # Some commands cannot be reversed. If you care to define how to move up + # and down in these cases, you should define the +up+ and +down+ methods + # as before. # # If a command cannot be reversed, an # ActiveRecord::IrreversibleMigration exception will be raised when -- cgit v1.2.3