devise_token_auth
devise_token_auth copied to clipboard
NoMethodError (super: no superclass method `create_token' for #<User:0x000055b9ceeeac68>)
Hi. I got a a error NoMethodError (super: no superclass method `create_token' for #<User:0x000055b9ceeeac68>)
.
My code:
def create_token(client: nil, lifespan: nil, cost: nil, **token_extras)
super
end
Ruby version: 2.6.3 Rails version: 6.0.2.1 Gem version: 1.1.3