title: Storing jQuery variables in Rails cookies
body: <p>I'm having a bit of trouble trying to post jQuery variables to a Rails cookie.</p>
  
  <p>I want to store two jQuery variables when any user visits the page.</p>
  
  <p>I've got a bit of Ajax making the post, thus:</p>
  
  <pre><code>/$.post('/where', {var1: one, var2: two});
  </code></pre>
  
  <p>I'm just not wholly sure how to set up the '/where' part.</p>
  
  <p>Any help would be great!</p>
  
  <p>Cheers.</p>