title: Devise authentication token
body: <p>In devise, how do i access the authentication token of a user. When an ajax call initiates a user session, I need to able to get an authentication token out of the user. I've tried to do things like adding :token_authenticable in my model</p>
  
  <pre><code>devise :database_authenticatable, :registerable,
       :recoverable, :rememberable, :trackable, :validatable
  </code></pre>
  
  <p>also adding attributes of names like :authentication_token, and :authenticity_token to attr_accessible. But every time i try to call authentication_token or this authenticity_token out of the user with user.auth ... i get errors like this</p>
  
  <pre><code>NoMethodError: undefined method `authentication_token' for #&lt;User:0x000001016b1140&gt;
  </code></pre>
  
  <p>Sorry, i need to get this token to send with my ajax calls, (the last project i worked on i had an incredibly BOOTLEG solution where devise was nearly torn out of the application, i just need this damn token)</p>