title: Rails 3: Create button to run an action without page redirection?
body: <p>I'm very new to Rails so here goes:</p>
  
  <p>I know how to make a basic for that sends the results to another page with</p>
  
  <pre><code>&lt;%= form_tag "Class/Action"&gt;
  # and    
  &lt;% submit_tag "Button name"&gt;
  </code></pre>
  
  <p>but what I want are a few buttons that run an action (and the page the user is on doesn't change or refresh).</p>
  
  <p>Also, if you have a better alternative, here's exactly what I'm doing: A user is presented with choices and when he selects one, I want to push the choice to other clients via Juggernaut. Juggernaut is used through Rails with the command Juggernaut.publish(channel, message), and so I need to call an action that does this command, without refreshing or changing his page.</p>