stack_rescue icon indicating copy to clipboard operation
stack_rescue copied to clipboard

Seeing deprecation warning

Open obromios opened this issue 5 years ago • 1 comments

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.

obromios avatar Feb 21 '20 00:02 obromios

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.

excid3 avatar Feb 21 '20 03:02 excid3