stack_rescue
stack_rescue copied to clipboard
Seeing deprecation warning
I was seeing the following deprecation warning upon starting my development server
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.
Commenting out stack_rescue in the development group solved this. There is a rails issue that discusses this problem and the fact it can be caused by older gems.
I cannot replicate this with a new Rails 6.0 app that has ActionText and stack_rescue installed. You'll probably need to build an example app that replicates the issue for me to fix it.