Ruby on Rails gives us a nice warning in development when we haven’t run a pending database migration. But what if we’re iterating on a migration, and the results can best be viewed in the browser? We might want to temporarily disable this warning.
Here’s how to do it:
# config/environments/development.rb config.active_record.migration_error = false
Don’t forget to turn it back on when you’re finished.Tweet