title: Ruby, post and redirect
body: <p>I have situation like this:</p>
  
  <ul>
  <li>user submits form with <code>action='/pay'</code></li>
  <li>in '/pay' I have to add some additional parameters and send post request to <code>www.paymentprovider.com/new_payment</code></li>
  </ul>
  
  <p>The problem is that I want to post and redirect (at the same time) user to this new website <code>www.paymentprovider.com/new_payment</code>. Currently I am using </p>
  
  <pre><code>Net::HTTP.post_form 
  </code></pre>
  
  <p>Do you know any ways to achieve this?</p>