diff options
Diffstat (limited to 'railties/environments/shared.rb')
-rw-r--r-- | railties/environments/shared.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/environments/shared.rb b/railties/environments/shared.rb index 0e30f1368b..f47586ebcc 100644 --- a/railties/environments/shared.rb +++ b/railties/environments/shared.rb @@ -35,7 +35,7 @@ require 'action_mailer' # Environment-specific configuration. -ActionController::Base.require_or_load "environments/#{RAILS_ENV}" +require_dependency "environments/#{RAILS_ENV}" ActiveRecord::Base.configurations = YAML::load(File.open("#{RAILS_ROOT}/config/database.yml")) ActiveRecord::Base.establish_connection |