Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #10711 from senny/10660_rake_db_test_prepare_needs…

…_config

the rake task `db:test:prepare` needs to load the configuration
  • Loading branch information...
commit b78ebce8d9d2e7f5b53a9d6459bbfef91b1a84cd 1 parent 2a72293
@rafaelfranca rafaelfranca authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/lib/active_record/railties/databases.rake
View
2  activerecord/lib/active_record/railties/databases.rake
@@ -362,7 +362,7 @@ db_namespace = namespace :db do
end
# desc 'Check for pending migrations and load the test schema'
- task :prepare do
+ task :prepare => :load_config do
unless ActiveRecord::Base.configurations.blank?
db_namespace['test:load'].invoke
end
Please sign in to comment.
Something went wrong with that request. Please try again.