Could not find devise mapping for path “/sessions/user” devise log in error
问题 Very frustrating for the last few days. I have a rails app with Devise installed where I generated a new User model and I generated Devise views as well. This happens when I try to sign in as an existing user right when I click "Log in" after filling out the email and password fields: AbstractController::ActionNotFound - Could not find devise mapping for path "/sessions/user". This may happen for two reasons: 1) You forgot to wrap your route inside the scope block. For example: devise_scope