title: Rails, trouble in a form trying to use the put http method
body: <pre><code>&lt;% form_ tag user_path(@user), :method =&gt; :put do %&gt;
  </code></pre>
  
  <p>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:</p>
  
  <pre><code>users     GET    /users(.:format)          {:action=&gt;"index", :controller=&gt;"users"}          
            POST   /users(.:format)          {:action=&gt;"create",:controller=&gt;"users"}
  new_ user GET    /users/new(.:format)      {:action=&gt;"new", :controller=&gt;"users"}
  edit_user GET    /users/:id/edit(.:format) {:action=&gt;"edit", :controller=&gt;"users"}
  user      GET    /users/:id(.:format)      {:action=&gt;"show", :controller=&gt;"users"}
            PUT    /users/:id(.:format)      {:action=&gt;"update", :controller=&gt;"users"}
            DELETE /users/:id(.:format)      {:action=&gt;"destroy", :controller=&gt;"users"}
  </code></pre>
  
  <p>So I try to send to user_path(@user) using the PUT HTTP method and it comes back with:</p>
  
  <pre><code>Unknown action
  
  No action responded to 1. Actions: create, destroy, edit, index, logged?, new, show and update
  </code></pre>
  
  <p>So obviously I don't know how to make this work, so thanks in advance.</p>