Permalink
Browse files

guides: configuring: fixing explanation of :after_initialize hook

:after_initialize runs after config/initializers, not before
  • Loading branch information...
1 parent 7dfbe58 commit a6483437f1f5738a85c51476877cc0ed4876db04 @sepastian sepastian committed Oct 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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:

0 comments on commit a648343

Please sign in to comment.