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 accepted answer does not work.
In Rails 4 it should be request.authorization not request['authorization']
request.authorization
request['authorization']