Skip to content

Commit 1a9a4b0

Browse files
authored
Merge pull request rails#52349 from rails/fxn/before_configuration
Improve the docs of before_configuration
2 parents f9e86f1 + d12a238 commit 1a9a4b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/configuring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3752,7 +3752,7 @@ Initialization Events
37523752

37533753
Rails has 5 initialization events which can be hooked into (listed in the order that they are run):
37543754

3755-
* `before_configuration`: This is run as soon as the application constant inherits from `Rails::Application`. The `config` calls are evaluated before this happens.
3755+
* `before_configuration`: This is run when the application class inherits from `Rails::Application` in `config/application.rb`. Before the class body is executed. Engines may use this hook to run code before the application itself gets configured.
37563756

37573757
* `before_initialize`: This is run directly before the initialization process of the application occurs with the `:bootstrap_hook` initializer near the beginning of the Rails initialization process.
37583758

0 commit comments

Comments
 (0)