{"action":"created","issue":{"url":"https://api.github.com/repos/abhidsm/devise-token-api/issues/4","repository_url":"https://api.github.com/repos/abhidsm/devise-token-api","labels_url":"https://api.github.com/repos/abhidsm/devise-token-api/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/abhidsm/devise-token-api/issues/4/comments","events_url":"https://api.github.com/repos/abhidsm/devise-token-api/issues/4/events","html_url":"https://github.com/abhidsm/devise-token-api/issues/4","id":46621465,"number":4,"title":"Support latest vesion of devise ","user":{"login":"eshaiju","id":2918256,"avatar_url":"https://avatars.githubusercontent.com/u/2918256?v=3","gravatar_id":"","url":"https://api.github.com/users/eshaiju","html_url":"https://github.com/eshaiju","followers_url":"https://api.github.com/users/eshaiju/followers","following_url":"https://api.github.com/users/eshaiju/following{/other_user}","gists_url":"https://api.github.com/users/eshaiju/gists{/gist_id}","starred_url":"https://api.github.com/users/eshaiju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eshaiju/subscriptions","organizations_url":"https://api.github.com/users/eshaiju/orgs","repos_url":"https://api.github.com/users/eshaiju/repos","events_url":"https://api.github.com/users/eshaiju/events{/privacy}","received_events_url":"https://api.github.com/users/eshaiju/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-10-23T12:58:39Z","updated_at":"2016-04-20T11:35:35Z","closed_at":null,"body":"My gemfile.lock\r\n\r\nGEM\r\n  remote: https://rubygems.org/\r\n  specs:\r\n    actionmailer (4.0.0)\r\n      actionpack (= 4.0.0)\r\n      mail (~> 2.5.3)\r\n    actionpack (4.0.0)\r\n      activesupport (= 4.0.0)\r\n      builder (~> 3.1.0)\r\n      erubis (~> 2.7.0)\r\n      rack (~> 1.5.2)\r\n      rack-test (~> 0.6.2)\r\n    activemodel (4.0.0)\r\n      activesupport (= 4.0.0)\r\n      builder (~> 3.1.0)\r\n    activerecord (4.0.0)\r\n      activemodel (= 4.0.0)\r\n      activerecord-deprecated_finders (~> 1.0.2)\r\n      activesupport (= 4.0.0)\r\n      arel (~> 4.0.0)\r\n    activerecord-deprecated_finders (1.0.3)\r\n    activesupport (4.0.0)\r\n      i18n (~> 0.6, >= 0.6.4)\r\n      minitest (~> 4.2)\r\n      multi_json (~> 1.3)\r\n      thread_safe (~> 0.1)\r\n      tzinfo (~> 0.3.37)\r\n    arel (4.0.2)\r\n    bcrypt (3.1.7)\r\n    builder (3.1.4)\r\n    coffee-rails (4.0.1)\r\n      coffee-script (>= 2.2.0)\r\n      railties (>= 4.0.0, < 5.0)\r\n    coffee-script (2.3.0)\r\n      coffee-script-source\r\n      execjs\r\n    coffee-script-source (1.8.0)\r\n    devise (3.4.0)\r\n      bcrypt (~> 3.0)\r\n      orm_adapter (~> 0.1)\r\n      railties (>= 3.2.6, < 5)\r\n      responders\r\n      thread_safe (~> 0.1)\r\n      warden (~> 1.2.3)\r\n    diff-lcs (1.2.5)\r\n    erubis (2.7.0)\r\n    execjs (2.2.2)\r\n    factory_girl (4.5.0)\r\n      activesupport (>= 3.0.0)\r\n    factory_girl_rails (4.5.0)\r\n      factory_girl (~> 4.5.0)\r\n      railties (>= 3.0.0)\r\n    haml (4.0.5)\r\n      tilt\r\n    haml-rails (0.5.1)\r\n      actionpack (~> 4.0.0)\r\n      activesupport (~> 4.0.0)\r\n      haml (>= 3.1, < 5.0)\r\n      railties (~> 4.0.0)\r\n    hike (1.2.3)\r\n    i18n (0.6.11)\r\n    jbuilder (1.5.3)\r\n      activesupport (>= 3.0.0)\r\n      multi_json (>= 1.2.0)\r\n    jquery-rails (3.1.2)\r\n      railties (>= 3.0, < 5.0)\r\n      thor (>= 0.14, < 2.0)\r\n    json (1.8.1)\r\n    libv8 (3.16.14.7)\r\n    mail (2.5.4)\r\n      mime-types (~> 1.16)\r\n      treetop (~> 1.4.8)\r\n    mime-types (1.25.1)\r\n    minitest (4.7.5)\r\n    multi_json (1.10.1)\r\n    mysql2 (0.3.16)\r\n    orm_adapter (0.5.0)\r\n    polyglot (0.3.5)\r\n    rack (1.5.2)\r\n    rack-test (0.6.2)\r\n      rack (>= 1.0)\r\n    rails (4.0.0)\r\n      actionmailer (= 4.0.0)\r\n      actionpack (= 4.0.0)\r\n      activerecord (= 4.0.0)\r\n      activesupport (= 4.0.0)\r\n      bundler (>= 1.3.0, < 2.0)\r\n      railties (= 4.0.0)\r\n      sprockets-rails (~> 2.0.0)\r\n    railties (4.0.0)\r\n      actionpack (= 4.0.0)\r\n      activesupport (= 4.0.0)\r\n      rake (>= 0.8.7)\r\n      thor (>= 0.18.1, < 2.0)\r\n    rake (10.3.2)\r\n    rdoc (4.1.2)\r\n      json (~> 1.4)\r\n    redis (3.1.0)\r\n    ref (1.0.5)\r\n    responders (1.1.1)\r\n      railties (>= 3.2, < 4.2)\r\n    rspec-core (3.1.7)\r\n      rspec-support (~> 3.1.0)\r\n    rspec-expectations (3.1.2)\r\n      diff-lcs (>= 1.2.0, < 2.0)\r\n      rspec-support (~> 3.1.0)\r\n    rspec-mocks (3.1.3)\r\n      rspec-support (~> 3.1.0)\r\n    rspec-rails (3.1.0)\r\n      actionpack (>= 3.0)\r\n      activesupport (>= 3.0)\r\n      railties (>= 3.0)\r\n      rspec-core (~> 3.1.0)\r\n      rspec-expectations (~> 3.1.0)\r\n      rspec-mocks (~> 3.1.0)\r\n      rspec-support (~> 3.1.0)\r\n    rspec-support (3.1.2)\r\n    sass (3.2.19)\r\n    sass-rails (4.0.3)\r\n      railties (>= 4.0.0, < 5.0)\r\n      sass (~> 3.2.0)\r\n      sprockets (~> 2.8, <= 2.11.0)\r\n      sprockets-rails (~> 2.0)\r\n    sdoc (0.4.1)\r\n      json (~> 1.7, >= 1.7.7)\r\n      rdoc (~> 4.0)\r\n    simple_form (3.0.2)\r\n      actionpack (~> 4.0)\r\n      activemodel (~> 4.0)\r\n    spork (1.0.0rc4)\r\n    sprockets (2.11.0)\r\n      hike (~> 1.2)\r\n      multi_json (~> 1.0)\r\n      rack (~> 1.0)\r\n      tilt (~> 1.1, != 1.3.0)\r\n    sprockets-rails (2.0.1)\r\n      actionpack (>= 3.0)\r\n      activesupport (>= 3.0)\r\n      sprockets (~> 2.8)\r\n    therubyracer (0.12.1)\r\n      libv8 (~> 3.16.14.0)\r\n      ref\r\n    thor (0.19.1)\r\n    thread_safe (0.3.4)\r\n    tilt (1.4.1)\r\n    treetop (1.4.15)\r\n      polyglot\r\n      polyglot (>= 0.3.1)\r\n    tzinfo (0.3.41)\r\n    uglifier (2.5.3)\r\n      execjs (>= 0.3.0)\r\n      json (>= 1.8.0)\r\n    warden (1.2.3)\r\n      rack (>= 1.0)\r\n\r\nPLATFORMS\r\n  ruby\r\n\r\nDEPENDENCIES\r\n  coffee-rails (~> 4.0.0)\r\n  devise\r\n  factory_girl_rails\r\n  haml (>= 3.0.0)\r\n  haml-rails\r\n  jbuilder (~> 1.2)\r\n  jquery-rails\r\n  mysql2\r\n  rails (= 4.0.0)\r\n  redis\r\n  rspec-rails (>= 2.0.1)\r\n  sass-rails (~> 4.0.0)\r\n  sdoc\r\n  simple_form (~> 3.0.0.rc)\r\n  spork (~> 1.0rc)\r\n  therubyracer\r\n  uglifier (>= 1.3.0)\r\n\r\nWhile starting server, getting  error like this \r\n\r\nuninitialized constant Devise::Models::TokenAuthenticatable (NameError)\r\n"},"comment":{"url":"https://api.github.com/repos/abhidsm/devise-token-api/issues/comments/212389893","html_url":"https://github.com/abhidsm/devise-token-api/issues/4#issuecomment-212389893","issue_url":"https://api.github.com/repos/abhidsm/devise-token-api/issues/4","id":212389893,"user":{"login":"proamateur","id":3154621,"avatar_url":"https://avatars.githubusercontent.com/u/3154621?v=3","gravatar_id":"","url":"https://api.github.com/users/proamateur","html_url":"https://github.com/proamateur","followers_url":"https://api.github.com/users/proamateur/followers","following_url":"https://api.github.com/users/proamateur/following{/other_user}","gists_url":"https://api.github.com/users/proamateur/gists{/gist_id}","starred_url":"https://api.github.com/users/proamateur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/proamateur/subscriptions","organizations_url":"https://api.github.com/users/proamateur/orgs","repos_url":"https://api.github.com/users/proamateur/repos","events_url":"https://api.github.com/users/proamateur/events{/privacy}","received_events_url":"https://api.github.com/users/proamateur/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T11:35:35Z","updated_at":"2016-04-20T11:35:35Z","body":"Make sure you add the config file for TokenAuthenticatable and set 'config.should_ensure_authentication_token' to true. Default being false.\r\n\r\nI know it's a bit of a late reply, but I hope it helps someone.\r\nCheers"}}