Closed thomasdarde closed 8 months ago
This issue is linked to lib/ being now autloaded in Rails 7.1
Adding the following lines to the beginning of the component file (lib/components/help_info_component.rb
in my case) is apparently sufficient to fix the issue, maybe there is a better way of handling this.
# This declaration is to avoid an issue with zeitwerk
module Components
class HelpInfoComponent
end
end
Precheck
Environment
Current behavior
Expected behavior
The code should load or a new way of initializing components should be documented