{"action":"closed","issue":{"url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/348","labels_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/348/labels{/name}","comments_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/348/comments","events_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/348/events","html_url":"https://github.com/lynndylanhurley/devise_token_auth/issues/348","id":102038212,"number":348,"title":"Error validating token","user":{"login":"jclif","id":3463691,"avatar_url":"https://avatars.githubusercontent.com/u/3463691?v=3","gravatar_id":"","url":"https://api.github.com/users/jclif","html_url":"https://github.com/jclif","followers_url":"https://api.github.com/users/jclif/followers","following_url":"https://api.github.com/users/jclif/following{/other_user}","gists_url":"https://api.github.com/users/jclif/gists{/gist_id}","starred_url":"https://api.github.com/users/jclif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jclif/subscriptions","organizations_url":"https://api.github.com/users/jclif/orgs","repos_url":"https://api.github.com/users/jclif/repos","events_url":"https://api.github.com/users/jclif/events{/privacy}","received_events_url":"https://api.github.com/users/jclif/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-20T01:45:24Z","updated_at":"2015-08-25T21:06:58Z","closed_at":"2015-08-25T21:06:58Z","body":"I am using j-toker to manage authentication, but when I refresh the page and it tries to validate the token, I get the following output in my server log:\r\n\r\n```\r\nStarted GET \"/api/v1/auth/validate_token\" for 127.0.0.1 at 2015-08-19 21:41:34 -0400\r\nProcessing by DeviseTokenAuth::TokenValidationsController#validate_token as */*\r\nCompleted 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)\r\n\r\nNoMethodError (undefined method `name' for nil:NilClass):\r\n  devise (3.5.1) app/controllers/devise_controller.rb:38:in `resource_name'\r\n  devise_token_auth (0.1.34) app/controllers/devise_token_auth/application_controller.rb:10:in `resource_class'\r\n  devise_token_auth (0.1.34) app/controllers/devise_token_auth/concerns/set_user_by_token.rb:19:in `set_user_by_token'\r\n```\r\n\r\nHas anyone experienced this issue before?"}}