Sequentially step through all of the available initialization routines, in order (view execution order in source).
Source Code
# File initializer.rb, line 62 def process check_ruby_version set_load_path require_frameworks set_autoload_paths add_plugin_load_paths load_environment initialize_encoding initialize_database initialize_cache initialize_framework_caches initialize_logger initialize_framework_logging initialize_framework_views initialize_dependency_mechanism initialize_whiny_nils initialize_temporary_session_directory initialize_time_zone initialize_framework_settings add_support_load_paths load_plugins load_application_initializers # the framework is now fully initialized after_initialize # Routing must be initialized after plugins to allow the former to extend the routes initialize_routing # Observers are loaded after plugins in case Observers or observed models are modified by plugins. load_observers end
<code/>and<pre/>for code samples.