From d12a2385021c65886cae2e68b29133948a9af4a1 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Wed, 17 Jul 2024 09:14:19 +0200 Subject: [PATCH] Improve the docs of before_configuration --- guides/source/configuring.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/source/configuring.md b/guides/source/configuring.md index c60d9c3f8f..c46a18c1ee 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -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.