title: Rails form posting to /new instead of /create?
body: <p>I have a simple form view using a Rails 3.1.x application:</p>
  
  <pre><code>&lt;%= form_for(:mymodel) do |f| %&gt;
    &lt;% if @mymodel.errors.any? %&gt;
      &lt;div id="error_explanation"&gt;
        &lt;h2&gt;&lt;%= pluralize(@mymodel.errors.count, "error") %&gt; prohibited this model from being saved:&lt;/h2&gt;
  
        &lt;ul&gt;
        &lt;% @mymodel.errors.full_messages.each do |msg| %&gt;
          &lt;li&gt;&lt;%= msg %&gt;&lt;/li&gt;
        &lt;% end %&gt;
        &lt;/ul&gt;
      &lt;/div&gt;
    &lt;% end %&gt;
  
    &lt;div class="field"&gt;
      Amount:
      &lt;%= f.text_field :count %&gt;&lt;br /&gt;&lt;br /&gt;
    &lt;/div&gt;
    &lt;div class="actions"&gt;
      &lt;%= f.submit %&gt;
    &lt;/div&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>When submit is hit here, it posts to <code>/mymodels/new</code>. How do I force it to go to the right create action for mymodels_controller.rb?</p>