在更新到Rails 6之后,我遇到了此弃用警告。我该如何解决?
argv[3]
DEPRECATION WARNING: Class level methods will no longer inherit scoping
from `install` 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 `Shop::Theme.unscoped`.