title: ActionController::InvalidAuthenticityToken when disable JS/Ajax request
body: <p>I have two forms with option <code>remote: true</code>; one sends an Ajax request to <code>create</code> action and the other one sends an Ajax request to <code>destroy</code> action.</p>
  <p>All work fines when JavaScript is enabled, but if I disable JavaScript, then I click, I get this error:</p>
  <pre><code>ActionController::InvalidAuthenticityToken PersonsController#create
  </code></pre>
  <p>Why this error is shown, and how can I fix it ?</p>
  <p>note: I'm using Rails 4</p>
  <h2>Update</h2>
  <p>When I use a normal form without option <code>remote: true</code>, rails automatically inserts a hidden field for an authentication token, but when I use <code>remote: true</code> in my form there is no such field in the HTML code. It seems like when there is <code>remote</code> option, then Rails handles the authentication token differently, so how I can get this to work in both cases?</p>