title: Rails3 button_to is calling POST action, trying to call PUT action
body: <p>I have a button_to that I want to perform a PUT action (there is only one thing that can be updated about this resource - it will be updated as being 'acknowledged', so there are no other form fields associated with firing the action). </p>
  
  <p>This is in my view (the controller is given explicitly because the button is on a view that belongs to another controller):</p>
  
  <pre><code>&lt;%= button_to "Acknowledged", :controller =&gt; 'practice_sessions', :id =&gt; @practice_session.id, :method =&gt; :put %&gt;
  </code></pre>
  
  <p>In my routes file, the resource has been declared as a restful resource: </p>
  
  <pre><code>  resources :practice_sessions
  </code></pre>
  
  <p>The controller for this resource has a create and an update action, and the button_to above calls the create action. I want it to call the update action. </p>
  
  <p>This comes through the log right before the create action fires: </p>
  
  <pre><code>Started POST "/practice_sessions?id=21&amp;method=put" for 127.0.0.1 at 2010-11-17 08:52:46 +0000
    Processing by PracticeSessionsController#create as HTML
    Parameters: {"authenticity_token"=&gt;"1EW0IlI38d0f4wST5azrCEZVZPfih7i0UvCGSF7eqbc=", "id"=&gt;"21", "method"=&gt;"put"}
  </code></pre>