diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-10-01 09:09:12 -0700 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-10-01 09:09:12 -0700 |
commit | 18ca3cbe12af1464f2991ced0e891ec372c8a449 (patch) | |
tree | 041826ce9db3556fc4c6710ae874187641e8c9b0 /guides/source | |
parent | 7dfbe58c70ec6acc9cee842fc8f18ec1ac57b66d (diff) | |
parent | a6483437f1f5738a85c51476877cc0ed4876db04 (diff) | |
download | rails-18ca3cbe12af1464f2991ced0e891ec372c8a449.tar.gz rails-18ca3cbe12af1464f2991ced0e891ec372c8a449.tar.bz2 rails-18ca3cbe12af1464f2991ced0e891ec372c8a449.zip |
Merge pull request #12416 from sepastian/guides_configuring_initialization_hooks
guides: configuring: fixing explanation of :after_initialize hook [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/configuring.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index 7eac116e1f..b14f8b6e7f 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -610,7 +610,7 @@ Rails has 5 initialization events which can be hooked into (listed in the order * `before_eager_load`: This is run directly before eager loading occurs, which is the default behavior for the `production` environment and not for the `development` environment. -* `after_initialize`: Run directly after the initialization of the application, but before the application initializers are run. +* `after_initialize`: Run directly after the initialization of the application, after the application initializers in `config/initializers` are run. To define an event for these hooks, use the block syntax within a `Rails::Application`, `Rails::Railtie` or `Rails::Engine` subclass: |