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 at /Users/test/token_auth/test/models/user_test.rb:5)
DEPRECATION WARNING: Class level methods will no longer inherit scoping from at /Users/test/token_auth/test/models/user_test.rb:5)
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, useUser.unscoped
, orUser.default_scoped
if a model has default scopes. (called from block inThis very simple project : https://github.com/thomasdarde/token_auth shows the depreacation warning, just launch
rails test