Permalink
Browse files

Properly namespace DatabaseTasks

  • Loading branch information...
drogus committed Jun 14, 2013
1 parent 6553df0 commit 067e1505d4e054df566e065f4faf11ee4b430a3d
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 067e150

Please sign in to comment.