nov/rack-oauth2 — pull request #29 by Strech (2013-02-08 15:07:48+00:00)
Title: Restore from Rack breaking API change

Now all methods of Rack::Auth::AbstractRequest returns strings, so, let's use to_sym for comparison
https://github.com/rack/rack/commit/0c76175fcccad74ba2f991c487d3669c28a297c8

Please check other comparisons in your code
Here you use to_s ... WHY!? :screem:
https://github.com/nov/rack-oauth2/blob/master/lib/rack/oauth2/server/resource/bearer.rb