diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index 9219d70c65221c31c9dc015bc2520836cf1ba80e..d0d9304a367d78eb7e9d7a385b7ba82d63f955a0 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -181,9 +181,12 @@ def initialize # # To roll the database back to a previous migration version, use # rake db:migrate VERSION=X where X is the version to which - # you wish to downgrade. If any of the migrations throw an - # ActiveRecord::IrreversibleMigration exception, that step will fail and you'll - # have some manual work to do. + # you wish to downgrade. Alternatively, you can also use the STEP option if you + # wish to rollback last few migrations. rake db:migrate STEP=2 will rollback + # the latest two migrations. + # + # If any of the migrations throw an ActiveRecord::IrreversibleMigration exception, + # that step will fail and you'll have some manual work to do. # # == Database support #