Refactor #33890
Feature #29991: Enable Zeitwerk autoload mode for Rails 6+
Refactor #33886: Fix early loads of constants
Require foreman/gettext directly
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Rails
Target version:
-
Pull request:
Fixed in Releases:
Found in Releases:
Description
initializers/1_fast_gettext uses some foreman constants, that do not need to be autoloaded, just require them.
Associated revisions
History
#1
Updated by The Foreman Bot 6 months ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/8931 added
#2
Updated by The Foreman Bot 6 months ago
- Fixed in Releases 3.2.0 added
#3
Updated by Leos Stejskal 6 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|c7a0068f85395eaec38bc533c2b987df6d0ac677.
Fixes #33890 - Require Foreman::Gettext in initializers
Fix deprecation warning the about initialization of auto-loaded constants