diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2013-06-14 18:24:16 +0200 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2013-06-14 18:51:14 +0200 |
commit | 067e1505d4e054df566e065f4faf11ee4b430a3d (patch) | |
tree | 56beae61fb82ec96bdfbd6e35b2a8781952def09 /activerecord | |
parent | 6553df05bd4514fe3278c34ec7111aa3f5cab8bd (diff) | |
download | rails-067e1505d4e054df566e065f4faf11ee4b430a3d.tar.gz rails-067e1505d4e054df566e065f4faf11ee4b430a3d.tar.bz2 rails-067e1505d4e054df566e065f4faf11ee4b430a3d.zip |
Properly namespace DatabaseTasks
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/railties/databases.rake | 2 |
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 |