title: form_for with multiple controller actions for submit
body: <p>How do I pass a url on the form_for submit? I'm trying to use one form with each buttons pointing to each controller actions, one is search and another one is create. Is it possible to have 2 submit buttons with different actions on the same form?</p>
  
  <pre><code>&lt;%= form_for @people do |f| %&gt;
      &lt;%= f.label :first_name %&gt;:
      &lt;%= f.text_field :first_name %&gt;&lt;br /&gt;
  
      &lt;%= f.label :last_name %&gt;:
      &lt;%= f.text_field :last_name %&gt;&lt;br /&gt;
  
      &lt;%= f.submit(:url =&gt; '/people/search') %&gt;
      &lt;%= f.submit(:url =&gt; '/people/create') %&gt;
  &lt;% end %&gt;
  </code></pre>