I need to logout all user in my rails application that uses sorcery. I tried running the code below in rails console but it says logout is undefined.
User.all.each { |user| logout user}
Aucun commentaire:
Enregistrer un commentaire