excid3 / excid3/stack_rescue

Seeing deprecation warning

Open
#5 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
171
Forks
6
PR merge metrics
No merged PRs in 30d

Description

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](https://github.com/rails/rails/issues/36546) that discusses this problem and the fact it can be caused by older gems.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.