aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-06-14 23:47:07 +0900
committerGitHub <noreply@github.com>2019-06-14 23:47:07 +0900
commitc2847716913d3fb72fd423009be1d4f124e4aa94 (patch)
tree549b34fb78b4039a6ca6e9bd769adb0034f48929 /activerecord/lib/active_record
parentc0af72bf86701e03ac97a50754beddf2b5d7943f (diff)
parent88de317992a3de52d46dbdb389105413f4573c8c (diff)
downloadrails-c2847716913d3fb72fd423009be1d4f124e4aa94.tar.gz
rails-c2847716913d3fb72fd423009be1d4f124e4aa94.tar.bz2
rails-c2847716913d3fb72fd423009be1d4f124e4aa94.zip
Merge pull request #36484 from albertoalmagro/alberto/reverse-column-is-reversible
[ci skip] Update docs as `remove_column` can be reversed
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/migration.rb6
1 files changed, 3 insertions, 3 deletions
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
# <tt>ActiveRecord::IrreversibleMigration</tt> exception will be raised when