aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-05-25 21:14:32 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-05-25 21:14:32 +0000
commit74265b650154197e6d4bc197d5c3eac3189e7942 (patch)
treec4b14b0ee283203bc5bb42e3dd3df1f947370a6d /railties/lib
parent4793c5b808f53cef9c1294818b90a2d617907502 (diff)
downloadrails-74265b650154197e6d4bc197d5c3eac3189e7942.tar.gz
rails-74265b650154197e6d4bc197d5c3eac3189e7942.tar.bz2
rails-74265b650154197e6d4bc197d5c3eac3189e7942.zip
Missed commit from [6833]. References #8456.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib')
-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