title: rails protect_from_forgery raises with exception
body: <p>I have Rails project which is working on production.
  But on localhost it raises on every POST request with <code>ActionController::InvalidAuthenticityToken</code>. I know what is it.
  AuthToken is protection from csrf attacks. I have in my <em>application_controller.rb</em></p>
  
  <p><code>protect_from_forgery with: :exception #this line raise exception</code></p>
  
  <p>and <code>csrf_meta_tags</code> present.
  I have no any problems in other Rails projects with it.</p>
  
  <p>If I remove param <code>with: :exception</code> session will reset after reloading page.</p>
  
  <p>what is the problem?</p>