NoMethodError: undefined method `current_sign_in_at' for #User:0x000055ce01dcf0a8
I think it is a session method error of some sort
I have an angular6 app for frontend and rails for backend, so the best option for me was to opt for devise_token_auth and ng_token_auth for user authentication.
I installed devise_token_auth gem followed by executing this line of code in terminal
"rails generate devise_token_auth:install User auth"
and on migration there was an error, I solved the issue by adding
"extend Devise::Models"
to the USER model and then migration had worked, then I created a user in the backend and tried to call sign_in using postman and the error "NoMethodError: undefined method `current_sign_in_at' for #User:0x000055ce01dcf0a8" came
I want the user to get authenticated using this gem or some other gem if they exist