Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seeing deprecation warning #5

Open
obromios opened this issue Feb 21, 2020 · 1 comment
Open

Seeing deprecation warning #5

obromios opened this issue Feb 21, 2020 · 1 comment

Comments

@obromios
Copy link

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.

@excid3
Copy link
Owner

excid3 commented Feb 21, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants