When using Rails 6 newest autloader zeitwerk I get following warning when starting rails tests:
DEPRECATION WARNING: Initialization autoloaded the constants ActionText::ContentHelper and ActionText::TagHelper.
Being able to do this is deprecated. Autoloading during initialization is going
to be an error condition in future versions of Rails.
Reloading does not reboot the application, and therefore code executed during
initialization does not run again. So, if you reload ActionText::ContentHelper, for example,
the expected changes won't be reflected in that stale Module object.
These autoloaded constants have been unloaded.
Please, check the "Autoloading and Reloading Constants" guide for solutions.
(called from block (2 levels) in included at /my_project_root/config/environment.rb:13)
I believed it's caused by the materialize initializer defined in engine.rb which references ActionController::Base.
When using Rails 6 newest autloader zeitwerk I get following warning when starting rails tests:
I believed it's caused by the materialize initializer defined in engine.rb which references ActionController::Base.