<% form_ tag user_path(@user), :method => :put do %>
That's my form, so I want it to access the update method of my UsersController, I set the map.resources :users , and the RESTful paths generated:
users     GET    /users(.:format)          {:action=>"index", :controller=>"users"}          
          POST   /users(.:format)          {:action=>"create",:controller=>"users"}
new_ user GET    /users/new(.:format)      {:action=>"new", :controller=>"users"}
edit_user GET    /users/:id/edit(.:format) {:action=>"edit", :controller=>"users"}
user      GET    /users/:id(.:format)      {:action=>"show", :controller=>"users"}
          PUT    /users/:id(.:format)      {:action=>"update", :controller=>"users"}
          DELETE /users/:id(.:format)      {:action=>"destroy", :controller=>"users"}
So I try to send to user_path(@user) using the PUT HTTP method and it comes back with:
Unknown action
No action responded to 1. Actions: create, destroy, edit, index, logged?, new, show and update
So obviously I don't know how to make this work, so thanks in advance.
 
     
     
     
     
     
     
    