@@ -57,29 +57,6 @@ module Rails
57
57
# 9) Build the middleware stack and run to_prepare callbacks
58
58
# 10) Run config.before_eager_load and eager_load! if eager_load is true
59
59
# 11) Run config.after_initialize callbacks
60
- #
61
- # == Multiple Applications
62
- #
63
- # If you decide to define multiple applications, then the first application
64
- # that is initialized will be set to +Rails.application+, unless you override
65
- # it with a different application.
66
- #
67
- # To create a new application, you can instantiate a new instance of a class
68
- # that has already been created:
69
- #
70
- # class Application < Rails::Application
71
- # end
72
- #
73
- # first_application = Application.new
74
- # second_application = Application.new(config: first_application.config)
75
- #
76
- # In the above example, the configuration from the first application was used
77
- # to initialize the second application. You can also use the +initialize_copy+
78
- # on one of the applications to create a copy of the application which shares
79
- # the configuration.
80
- #
81
- # If you decide to define Rake tasks, runners, or initializers in an
82
- # application other than +Rails.application+, then you must run them manually.
83
60
class Application < Engine
84
61
autoload :Bootstrap , "rails/application/bootstrap"
85
62
autoload :Configuration , "rails/application/configuration"
0 commit comments