My devise users are \"database_authenticatable\" and \"token_authenticatable\". I\'ve tried deleting the \"authentication_token\" field in the database for that user from the co
Devise provides helper methods to do these things:
user = User.find(params[:id]) sign_in user sign_out user
Hope this helps.