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

Rails 6.1では動かなくなる可能性 #15

Open
fumtas1k opened this issue Apr 5, 2022 · 0 comments
Open

Rails 6.1では動かなくなる可能性 #15

fumtas1k opened this issue Apr 5, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@fumtas1k
Copy link
Owner

fumtas1k commented Apr 5, 2022

以下の警告がmodelのrspec動作時に出ている。

DEPRECATION WARNING: Class level methods will no longer inherit scoping from create! 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 User.default_scoped. (called from non_guest_user_is_blank? at /Users/fumta/Desktop/rails_non_G/issues_app/app/models/user.rb:55)

警告が出ないよう、改善したほうが良いのでは?

@fumtas1k fumtas1k added the bug Something isn't working label Apr 5, 2022
@fumtas1k fumtas1k added this to the version1.0リリース milestone Apr 5, 2022
@fumtas1k fumtas1k self-assigned this Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant