From 74265b650154197e6d4bc197d5c3eac3189e7942 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Fri, 25 May 2007 21:14:32 +0000 Subject: Missed commit from [6833]. References #8456. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/lib/initializer.rb | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'railties/lib/initializer.rb') diff --git a/railties/lib/initializer.rb b/railties/lib/initializer.rb index 9f6f01d41c..28ad98bc10 100644 --- a/railties/lib/initializer.rb +++ b/railties/lib/initializer.rb @@ -61,7 +61,6 @@ module Rails # in order: # # * #set_load_path - # * #set_connection_adapters # * #require_frameworks # * #load_environment # * #initialize_database @@ -85,7 +84,6 @@ module Rails def process check_ruby_version set_load_path - set_connection_adapters require_frameworks set_autoload_paths @@ -155,14 +153,6 @@ module Rails configuration.load_once_paths.freeze end - # Sets the +RAILS_CONNECTION_ADAPTERS+ constant based on the value of - # Configuration#connection_adapters. This constant is used to determine - # which database adapters should be loaded (by default, all adapters are - # loaded). - def set_connection_adapters - Object.const_set("RAILS_CONNECTION_ADAPTERS", configuration.connection_adapters) if configuration.connection_adapters - end - # Requires all frameworks specified by the Configuration#frameworks # list. By default, all frameworks (ActiveRecord, ActiveSupport, # ActionPack, ActionMailer, and ActionWebService) are loaded. @@ -387,11 +377,6 @@ module Rails # application classes to be reloaded on each request) attr_accessor :cache_classes - # The list of connection adapters to load. (By default, all connection - # adapters are loaded. You can set this to be just the adapter(s) you - # will use to reduce your application's load time.) - attr_accessor :connection_adapters - # The list of paths that should be searched for controllers. (Defaults # to app/controllers and components.) attr_accessor :controller_paths -- cgit v1.2.3