Skip to content

Commit

Permalink
Changelog tweak for lazy routes
Browse files Browse the repository at this point in the history
Adds context to the changelog that eager-loaded envs will draw routes
eagerly like they did previously.
  • Loading branch information
Earlopain authored and gmcgibbon committed Jun 6, 2024
1 parent 6622075 commit d56adb8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions railties/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d56adb8

Please sign in to comment.