Rails 4 introduced raising an error on pending migrations Show archive.org snapshot . This is most annoying when you are crafting a migration but need to play with your application to figure out how to do it.
To disable this behavior, just set the corresponding config option to false
:
# in config/environments/development.rb
# Raise an error on page load if there are pending migrations.
config.active_record.migration_error = false # was :page_load
Posted by Dominik Schöler to makandra dev (2015-10-05 12:31)