I'm upgrading my app to Rails 7.1 and I have a deprecation warning message that seems to be triggered by chewy.
Actual behavior
This warning is displayed when running my testing suite:
DEPRECATION WARNING: Bolding log text with a positional boolean is deprecated and will be removed in Rails 7.2. Use an option hash instead (eg. `color("my text", :red, bold: true)`).
Steps to reproduce the problem
The warning is triggered by the line located (here)
As recommended by the warning message, the warning is not displayed if we move the line to:
action = color(action, GREEN, bold: true)
Regarding the doc, the support is supported until Rails 6.1, is there any plan for the newly Rails release?
I'm taking the opportunity of this message to thank you for this gem.
Expected behavior
I'm upgrading my app to
Rails 7.1
and I have a deprecation warning message that seems to be triggered by chewy.Actual behavior
This warning is displayed when running my testing suite:
Steps to reproduce the problem
The warning is triggered by the line located (here)
As recommended by the warning message, the warning is not displayed if we move the line to:
Regarding the doc, the support is supported until
Rails 6.1
, is there any plan for the newly Rails release?I'm taking the opportunity of this message to thank you for this gem.
Version Information