Browse files

Missed commit from [6833]. References #8456.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 4793c5b commit 74265b650154197e6d4bc197d5c3eac3189e7942 @jeremy jeremy committed May 25, 2007
Showing with 0 additions and 15 deletions.
  1. +0 −15 railties/lib/initializer.rb
View
15 railties/lib/initializer.rb
@@ -61,7 +61,6 @@ def initialize(configuration)
# in order:
#
# * #set_load_path
- # * #set_connection_adapters
# * #require_frameworks
# * #load_environment
# * #initialize_database
@@ -85,7 +84,6 @@ def initialize(configuration)
def process
check_ruby_version
set_load_path
- set_connection_adapters
require_frameworks
set_autoload_paths
@@ -155,14 +153,6 @@ def set_autoload_paths
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 @@ class Configuration
# 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

0 comments on commit 74265b6

Please sign in to comment.