could not update or signout from account - devise_token_auth- Ruby on Rails
<p>I'm using <a href="http://www.rubydoc.info/gems/devise_token_auth/0.1.37#initializer-settings" rel="nofollow">devise_token_auth</a> for my Rails <code>Rest Api</code> . <code>Register</code> and <code>login</code> work like a charm as routes defined in its documentation . But when i try to do the <code>sign_out</code> as specified by documentation . It goes to server and shows me following query and result</p>

<blockquote>
  <p>Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-02-02 11:46:00 <br>
  +0500 Processing by DeviseTokenAuth::SessionsController#destroy as <em>/</em>   <br>User Load (0.4ms)  SELECT  <code>users</code>.* FROM <code>users</code> WHERE <code>users</code>.<code>uid</code>
  = 'abc@no.com' LIMIT 1 <br><br>Completed 404 Not Found in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)</p>
</blockquote>

<p>I pasted the whole functioning in the server where you can see that it's a <code>delete request</code> according to <a href="http://www.rubydoc.info/gems/devise_token_auth/0.1.37#initializer-settings" rel="nofollow">devise_token_auth</a>  documentation . While this user <code>abc@no.com</code> is present in db. and <code>sign in</code> is working great . 
Like <code>sign_out</code> , it's having issue with <code>updation of account</code> where i've <code>put request</code> same as in documentation . </p>

<p><strong>Note:</strong> </p>

<p>Header are kept the same as received in sign_in request - Below are the headers</p>

<pre><code>access-token wwwww
token-type   Bearer
client       werse
uid          abc@no.com
expiry       4564
</code></pre>