I have been following the railscast on how to set authentication tokens http://railscasts.com/episodes/352-securing-an-api?view=asciicast
I have setup my app very we
The header name isn't HTTP_AUTHORIZATION and you have to set it like this set it as:
HTTP_AUTHORIZATION
request['authorization'] = "Token token=#{token}"
To be able to use the authenticate_or_request_with_http_token method.
authenticate_or_request_with_http_token