aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorAlberto Almagro <albertoalmagro@gmail.com>2019-06-14 16:00:10 +0200
committerAlberto Almagro <albertoalmagro@gmail.com>2019-06-14 16:00:10 +0200
commit88de317992a3de52d46dbdb389105413f4573c8c (patch)
treea40713d9bf4316f10e6e89bfbdbd251d4b28031b /activerecord/lib
parente2d11970f25890e8baa613bfa33e432bd693627b (diff)
downloadrails-88de317992a3de52d46dbdb389105413f4573c8c.tar.gz
rails-88de317992a3de52d46dbdb389105413f4573c8c.tar.bz2
rails-88de317992a3de52d46dbdb389105413f4573c8c.zip
[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.
Diffstat (limited to 'activerecord/lib')
-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