Doc fixes (closes #8608) [deepblue]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7564 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 046a87a8
...@@ -60,27 +60,26 @@ def initialize(configuration) ...@@ -60,27 +60,26 @@ def initialize(configuration)
# Sequentially step through all of the available initialization routines, # Sequentially step through all of the available initialization routines,
# in order: # in order:
# #
# * #check_ruby_version
# * #set_load_path # * #set_load_path
# * #require_frameworks # * #require_frameworks
# * #set_autoload_paths
# * #load_environment # * #load_environment
# * #initialize_encoding
# * #initialize_database # * #initialize_database
# * #initialize_logger # * #initialize_logger
# * #initialize_framework_logging # * #initialize_framework_logging
# * #initialize_framework_views # * #initialize_framework_views
# * #initialize_dependency_mechanism # * #initialize_dependency_mechanism
# * #initialize_whiny_nils # * #initialize_whiny_nils
# * #initialize_temporary_directories
# * #initialize_framework_settings # * #initialize_framework_settings
# * #load_environment # * #add_support_load_paths
# * #load_plugins # * #load_plugins
# * #load_observers # * #load_observers
# * #initialize_routing # * #initialize_routing
# * #after_initialize # * #after_initialize
# * #load_application_initializers # * #load_application_initializers
#
# (Note that #load_environment is invoked twice, once at the start and
# once at the end, to support the legacy configuration style where the
# environment could overwrite the defaults directly, instead of via the
# Configuration instance.
def process def process
check_ruby_version check_ruby_version
set_load_path set_load_path
...@@ -99,11 +98,6 @@ def process ...@@ -99,11 +98,6 @@ def process
initialize_temporary_directories initialize_temporary_directories
initialize_framework_settings initialize_framework_settings
# Support for legacy configuration style where the environment
# could overwrite anything set from the defaults/global through
# the individual base class configurations.
load_environment
add_support_load_paths add_support_load_paths
load_plugins load_plugins
...@@ -191,7 +185,7 @@ def load_plugins ...@@ -191,7 +185,7 @@ def load_plugins
end end
# Loads the environment specified by Configuration#environment_path, which # Loads the environment specified by Configuration#environment_path, which
# is typically one of development, testing, or production. # is typically one of development, test, or production.
def load_environment def load_environment
silence_warnings do silence_warnings do
return if @environment_loaded return if @environment_loaded
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册