plataformatec/devise — Issue #1629: No route matches [PUT] "/users"
Author: josmar52789
Created: 2012-02-08 21:11:55+00:00
State: open

I created a scaffold for my User model, with this content in the routes.rb

devise_for :users
resources :users

This worked in Devise 1.x, but not in 2.x.. I can list all my users with the index action, edit them with the edit action, but the update action results in:

No route matches [PUT] "/users"

Code that produces this issue is located at https://github.com/josmar52789/deviseerror

Once launched, visit http://localhost:3000/

Login with the email of test@test.com and password of compute1

You will not be able to edit user accounts because you will be presented with the error.