aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--railties/lib/initializer.rb15
1 files changed, 0 insertions, 15 deletions
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 <tt>app/controllers</tt> and <tt>components</tt>.)
attr_accessor :controller_paths