aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/railties
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2013-06-14 18:24:16 +0200
committerPiotr Sarnacki <drogus@gmail.com>2013-06-14 18:51:14 +0200
commit067e1505d4e054df566e065f4faf11ee4b430a3d (patch)
tree56beae61fb82ec96bdfbd6e35b2a8781952def09 /activerecord/lib/active_record/railties
parent6553df05bd4514fe3278c34ec7111aa3f5cab8bd (diff)
downloadrails-067e1505d4e054df566e065f4faf11ee4b430a3d.tar.gz
rails-067e1505d4e054df566e065f4faf11ee4b430a3d.tar.bz2
rails-067e1505d4e054df566e065f4faf11ee4b430a3d.zip
Properly namespace DatabaseTasks
Diffstat (limited to 'activerecord/lib/active_record/railties')
-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 72a302e82d..0b74553bf8 100644
--- a/activerecord/lib/active_record/railties/databases.rake
+++ b/activerecord/lib/active_record/railties/databases.rake
@@ -324,7 +324,7 @@ db_namespace = namespace :db do
ActiveRecord::Schema.verbose = false
db_namespace["schema:load"].invoke
ensure
- ActiveRecord::Base.establish_connection(ActiveRecord::Base.configurations[DatabaseTasks.env])
+ ActiveRecord::Base.establish_connection(ActiveRecord::Base.configurations[ActiveRecord::Tasks::DatabaseTasks.env])
end
end