title: Regenerate and Pull in new CSRF Token Through AJAX and Rails
body: <p>I have a Backbone app over a Rails backend. I'm not having problems with sending the CSRF token, but I am having a problem where I logout and want to log back in, but it's not verifying the login because the CSRF token gets changed after a logout.</p>
  
  <p>Is there a way to pull in this CSRF token without doing a full page request or should I just always make the browser do a full page refresh from the server after a logout to stop this from happening?</p>
  
  <p>I'm okay with doing a full browser refresh if there's no other way around this CSRF problem, I just think my users get kind of a crappy experience because of CSRF, but I think they'll forgive me if their account is better protected.</p>