simple_token_authentication icon indicating copy to clipboard operation
simple_token_authentication copied to clipboard

acts_as_token_authenticatable causes a DEPRECATION WARNING

Open thomasdarde opened this issue 4 years ago • 0 comments

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

thomasdarde avatar Mar 20 '20 11:03 thomasdarde