I’ve noticed an annoying problem with Rails 4, and was wondering if folks had also seen this in action or had solutions.
Rails 4’s test helper will automatically maintain the database schema for tests, which means you don’t need to run
rake db:test:load after migrations, Rails just migrates the test database for you. The problem comes if you roll back a migration and then re-run the migration, it seems that Rails doesn’t reflect the change without performing the
db:test:load command. Since this functionality is going to be deprecated in future, I’m wondering how folks handle this problem.