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

acts_as_token_authenticatable causes a DEPRECATION WARNING #358

Open
thomasdarde opened this issue Mar 20, 2020 · 0 comments
Open

acts_as_token_authenticatable causes a DEPRECATION WARNING #358

thomasdarde opened this issue Mar 20, 2020 · 0 comments

Comments

@thomasdarde
Copy link
Contributor

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.unscoped, or User.default_scoped if a model has default scopes. (called from block in class:UserTest at /Users/test/token_auth/test/models/user_test.rb:5)

This very simple project : https://github.com/thomasdarde/token_auth shows the depreacation warning, just launch rails test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant