aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Conway <brandoncc@gmail.com>2015-09-23 23:04:24 -0700
committerBrandon Conway <brandoncc@gmail.com>2015-09-23 23:04:24 -0700
commitca4f1e0440e935e833e9481abc01c0254ea58e0a (patch)
treeb19efdb82b71bbfaf84141b71c9d9271d3f7ffe0
parent10762e9e550a8221ae4b28e6274fd01992004591 (diff)
downloadrails-ca4f1e0440e935e833e9481abc01c0254ea58e0a.tar.gz
rails-ca4f1e0440e935e833e9481abc01c0254ea58e0a.tar.bz2
rails-ca4f1e0440e935e833e9481abc01c0254ea58e0a.zip
Fix out of sync comment
It appears that as of version 4 the `db:test:prepare` task no longer depends on the `abort_if_pending_migrations` task, which leaves this comment out of sync.
-rw-r--r--activerecord/lib/active_record/railties/databases.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/railties/databases.rake b/activerecord/lib/active_record/railties/databases.rake
index b113baec33..d940ac244a 100644
--- a/activerecord/lib/active_record/railties/databases.rake
+++ b/activerecord/lib/active_record/railties/databases.rake
@@ -353,7 +353,7 @@ db_namespace = namespace :db do
ActiveRecord::Tasks::DatabaseTasks.purge ActiveRecord::Base.configurations['test']
end
- # desc 'Check for pending migrations and load the test schema'
+ # desc 'Load the test schema'
task :prepare => %w(environment load_config) do
unless ActiveRecord::Base.configurations.blank?
db_namespace['test:load'].invoke