You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There appears to be a deprecation warning emitted when calling variant.set_option_value in Rails 6.0.3.2. It looks like the code somewhere in Solidus is doing something potentially unsafe:
DEPRECATION WARNING: Class level methods will no longer inherit scoping from `new` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `Spree::OptionValue.default_scoped`.
Solidus Version:
2.10.0
To Reproduce
Seems to occur for me whenever my code invokes variant.set_option_value, although I'm specifically noticing it in my specs. Possible that something about the test code loading path is different, although that would surprise me given the warning.
The text was updated successfully, but these errors were encountered:
There appears to be a deprecation warning emitted when calling
variant.set_option_value
in Rails 6.0.3.2. It looks like the code somewhere in Solidus is doing something potentially unsafe:Solidus Version:
2.10.0
To Reproduce
Seems to occur for me whenever my code invokes
variant.set_option_value
, although I'm specifically noticing it in my specs. Possible that something about the test code loading path is different, although that would surprise me given the warning.The text was updated successfully, but these errors were encountered: