diff options
author | Carlhuda <carlhuda@engineyard.com> | 2010-01-25 17:55:54 -0800 |
---|---|---|
committer | Carlhuda <carlhuda@engineyard.com> | 2010-01-25 17:55:54 -0800 |
commit | 64f8c87b1dab9bc9b6324fd6a3d77945f4b62821 (patch) | |
tree | b2065f1cca69c09eb1f583cd36eab96a0b15391f /activerecord/lib | |
parent | abad097016bf5243e9812f6a031f421a986b09f7 (diff) | |
download | rails-64f8c87b1dab9bc9b6324fd6a3d77945f4b62821.tar.gz rails-64f8c87b1dab9bc9b6324fd6a3d77945f4b62821.tar.bz2 rails-64f8c87b1dab9bc9b6324fd6a3d77945f4b62821.zip |
Fix AR's rake tasks to work with the Rails::Application refactor
Diffstat (limited to 'activerecord/lib')
-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 88974dd786..2ef8676f39 100644 --- a/activerecord/lib/active_record/railties/databases.rake +++ b/activerecord/lib/active_record/railties/databases.rake @@ -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 |