mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix AR's rake tasks to work with the Rails::Application refactor
This commit is contained in:
parent
abad097016
commit
64f8c87b1d
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
namespace :db do
|
||||
task :load_config => :rails_env do
|
||||
require 'active_record'
|
||||
ActiveRecord::Base.configurations = Rails::Configuration.new.database_configuration
|
||||
ActiveRecord::Base.configurations = Rails::Application.config.database_configuration
|
||||
end
|
||||
|
||||
namespace :create do
|
||||
|
|
Loading…
Reference in a new issue