title: How does rails decide to render a form with a method of PUT or POST?
body: <p>Rails generates a form partial that can be used on both the page rendered by a get action and a page rendered by a new action. If it is the former the form's method is set to PUT, if the latter the form's action is set to POST. </p>
  
  <p>How does rails decide which method to use?</p>