Xavier, you wrote that we are not supposed to run migrations with RAILS_ENV=test, but the Rails itself occasionally prompts us to do it.
For example, when I run rspec command having pending migrations on test environment, the Rails emits the following message: > Migrations are pending. To resolve this issue, run: > > bin/rake db:migrate RAILS_ENV=test This message is embedded in /activerecord/lib/active_record/migration.rb. I am not sure if this message is a correct instruction or not, though. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/groups/opt_out.
