title: How do you submit a rails 3 form without refreshing the page?
body: <p>I've seen this done using ajax &amp; php, but not rails 3.  </p>
  
  <p>I've tried using:  </p>
  
  <pre><code>&lt;%= form_for(:technician, :url =&gt; {:controller =&gt; 'pos', :action =&gt; 'create_ticket'}, :remote =&gt; true) do |f| %&gt;  
  </code></pre>
  
  <p>but the page still refreshes each time.  I'm building a point of sale program, so I don't want the page to refresh.</p>
  
  <p>How do I send the form data to the controller to process and store in the database without refreshing?</p>