forest-rails
forest-rails copied to clipboard
Usage of rails secrets raises deprecation warnings on Rails 7.1+
Hi there,
I am currently in the process of migrating a Rails app to Rails 7.1, and I found that Forest's usage of Rails.application.secrets
usage in boostrapper.rb
raises a deprecation warning/exception (depending on your configuration).
This check seems to have been there for 2 years now, would it be possible to remove it ? Or at least check only if ForestLiana.application_url
hasn't already been set before.
For reference, here is the offending line: https://github.com/ForestAdmin/forest-rails/blob/8cbdea38c7d38d7f31a0f4d3b54f926d506421e0/lib/forest_liana/bootstrapper.rb#L31
Thank you for considering :)
Hi @dvkch , thanks for your feedback
I have just created a ticket on our end to remove this warning. I will let you know when it's processed.
Thank you !
:tada: This issue has been resolved in version 9.3.10 :tada:
The release is available on:
- GitHub release
-
v9.3.10
Your semantic-release bot :package::rocket:
hello @dvkch, I have just released version 9.3.10
which removes the deprecated warning.
Great, thanks for the update!