You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Delete the initializer initialize_dependency_mechanism
The concept of dependencies mechanism disappears.
We do not remove the attribute in AS::Dependencies itself here, that
class is going to have a lot of code delete later.
When a request comes to an unauthorized host, a default Rack application
288
-
will run and respond with `403 Forbidden`. This can be customized by setting
287
+
When a request comes to an unauthorized host, a default Rack application
288
+
will run and respond with `403 Forbidden`. This can be customized by setting
289
289
`config.host_configuration.response_app`. For example:
290
290
291
291
```ruby
@@ -1665,8 +1665,6 @@ Below is a comprehensive list of all the initializers found in Rails in the orde
1665
1665
1666
1666
* `set_clear_dependencies_hook`: This initializer - which runs only if `cache_classes` is set to `false` - uses `ActionDispatch::Callbacks.after` to remove the constants which have been referenced during the request from the object space so that they will be reloaded during the following request.
1667
1667
1668
-
* `initialize_dependency_mechanism`: If `config.cache_classes` is true, configures `ActiveSupport::Dependencies.mechanism` to `require` dependencies rather than `load` them.
1669
-
1670
1668
* `bootstrap_hook`: Runs all configured `before_initialize` blocks.
1671
1669
1672
1670
* `i18n.callbacks`: In the development environment, sets up a `to_prepare` callback which will call `I18n.reload!` if any of the locales have changed since the last request. In production this callback will only run on the first request.
0 commit comments