hi-ogawa / wordCollector

https://chrome.google.com/webstore/detail/word-collector/jfeinpeakgoblpcelmhdhajmdoeoifap
0 stars 0 forks source link

error handling when the below #30

Closed hi-ogawa closed 9 years ago

hi-ogawa commented 9 years ago

Started DELETE "/api/sessions/eqhFa2EvFKppmoNyCGqT" for 127.0.0.1 at 2015-08-25 02:53:36 +0900 Processing by Api::V1::SessionsController#destroy as JSON Parameters: {"id"=>"eqhFa2EvFKppmoNyCGqT"} Can't verify CSRF token authenticity User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = 'eqhFa2EvFKppmoNyCGqT' LIMIT 1 Completed 500 Internal Server Error in 2ms

NoMethodError (undefined method generate_authentication_token!' for nil:NilClass): app/controllers/api/v1/sessions_controller.rb:17:indestroy'

hi-ogawa commented 9 years ago

did it