title: Is there a way to pass params when clicking submit button in simple_form view in rails 3.2.12?
body: <p>In simple_form view, the submit button is like this:</p>
  
  <pre><code>&lt;%= f.button :submit, 'Save' %&gt;
  </code></pre>
  
  <p>We are trying to pass a params <code>subaction</code> when clicking the <code>Save</code> button. The <code>params[:subaction]</code> should have value of 'update' after clicking the button. Here is what we tried in view but it did not work:</p>
  
  <pre><code>&lt;%= f.button :submit, 'Save', :subaction =&gt; 'update' %&gt;
  </code></pre>
  
  <p>Is there a way to pass a value in <code>params[:subaction]</code> when clicking the <code>Save</code> button?</p>