Skip to content

Commit

Permalink
Merge pull request rails#52349 from rails/fxn/before_configuration
Browse files Browse the repository at this point in the history
Improve the docs of before_configuration
  • Loading branch information
fxn authored Jul 17, 2024
2 parents f9e86f1 + d12a238 commit 1a9a4b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/configuring.md
Original file line number Diff line number Diff line change
Expand Up @@ -3752,7 +3752,7 @@ Initialization Events

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

* `before_configuration`: This is run as soon as the application constant inherits from `Rails::Application`. The `config` calls are evaluated before this happens.
* `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.

* `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.

Expand Down

0 comments on commit 1a9a4b0

Please sign in to comment.