вот часть рейковых маршрутов:
new_user_session GET /users/login(.:format) {:controller=>"devise/sessions", :action=>"new"}
user_session POST /users/login(.:format) {:controller=>"devise/sessions", :action=>"create"}
destroy_user_session GET /users/logout(.:format) {:controller=>"devise/sessions", :action=>"destroy"}
user_password POST /users/password(.:format) {:controller=>"devise/passwords", :action=>"create"}
new_user_password GET /users/password/new(.:format) {:controller=>"devise/passwords", :action=>"new"}
edit_user_password GET /users/password/edit(.:format) {:controller=>"devise/passwords", :action=>"edit"}
PUT /users/password(.:format) {:controller=>"devise/passwords", :action=>"update"}
user_registration POST /users(.:format) {:controller=>"devise/registrations", :action=>"create"}
new_user_registration GET /users/register(.:format) {:controller=>"devise/registrations", :action=>"new"}
edit_user_registration GET /users/edit(.:format) {:controller=>"devise/registrations", :action=>"edit"}
PUT /users(.:format) {:controller=>"devise/registrations", :action=>"update"}
DELETE /users(.:format) {:controller=>"devise/registrations", :action=>"destroy"}
GET /content/:id-:alias(.:format) {:controller=>"contents", :action=>"show", :id=>/\d+/}
contents GET /content(.:format) {:controller=>"contents", :action=>"index"}
POST /content(.:format) {:controller=>"contents", :action=>"create"}
new_content GET /content/new(.:format) {:controller=>"contents", :action=>"new"}
edit_content GET /content/:id/edit(.:format) {:controller=>"contents", :action=>"edit"}
content GET /content/:id(.:format) {:controller=>"contents", :action=>"show"}
PUT /content/:id(.:format) {:controller=>"contents", :action=>"update"}
DELETE /content/:id(.:format) {:controller=>"contents", :action=>"destroy"}
trademarks GET /trademarks(.:format) {:controller=>"trademarks", :action=>"index"}
POST /trademarks(.:format) {:controller=>"trademarks", :action=>"create"}
new_trademark GET /trademarks/new(.:format) {:controller=>"trademarks", :action=>"new"}
edit_trademark GET /trademarks/:id/edit(.:format) {:controller=>"trademarks", :action=>"edit"}
trademark GET /trademarks/:id(.:format) {:controller=>"trademarks", :action=>"show"}
PUT /trademarks/:id(.:format) {:controller=>"trademarks", :action=>"update"}
DELETE /trademarks/:id(.:format) {:controller=>"trademarks", :action=>"destroy"}
запрашиваемая страница - / users / edit. Ошибка происходит только в контроллерах devise.