From d56adb8d56a61266aadf8f8f637bcf884e4460ef Mon Sep 17 00:00:00 2001 From: Earlopain <14981592+Earlopain@users.noreply.github.com> Date: Sun, 12 May 2024 17:58:09 +0200 Subject: [PATCH] Changelog tweak for lazy routes Adds context to the changelog that eager-loaded envs will draw routes eagerly like they did previously. --- railties/CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md index ed1c9966635..f8c09ffb720 100644 --- a/railties/CHANGELOG.md +++ b/railties/CHANGELOG.md @@ -5,6 +5,9 @@ Previously, this was executed unconditionally on boot, which can slow down boot time unnecessarily for larger apps with lots of routes. + Environments like production that have `config.eager_load = true` will + continue to eagerly load routes on boot. + *Gannon McGibbon* * Add Rubocop and GitHub Actions to plugin generator.