Refactor ActiveRecord fixes for Rake tasks
In db:create_migration skip nonexisting db/migrate