From 4f91215ce9bc473827d62d522076abecf17eba2c Mon Sep 17 00:00:00 2001 From: Jan Habermann Date: Fri, 7 Jan 2022 09:18:26 +0100 Subject: [PATCH] Fix typo in autoloading docs --- guides/source/autoloading_and_reloading_constants.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/source/autoloading_and_reloading_constants.md b/guides/source/autoloading_and_reloading_constants.md index 15cbf123a9..b5abf0630c 100644 --- a/guides/source/autoloading_and_reloading_constants.md +++ b/guides/source/autoloading_and_reloading_constants.md @@ -245,7 +245,7 @@ ApiGateway.endpoint = "https://example.com" # DO NOT DO THIS a reloaded `ApiGateway` would have a `nil` endpoint, because the code above does not run again. -You can still set things up during boot, but you need to wrap them in a `to_prepare` block, which is runs on boot, and after each reload: +You can still set things up during boot, but you need to wrap them in a `to_prepare` block, which runs on boot, and after each reload: ```ruby # config/initializers/api_gateway_setup.rb