plataformatec/devise — Issue #1554: http basic auth broken in rails 3-2-stable
Author: masterkain
Created: 2012-01-08 22:54:29+00:00
State: open

HTTP Basic Auth is not working at the moment because of a deprecation in authenticatable.rb:

DEPRECATION WARNING: ActiveSupport::Base64.decode64 is deprecated. Use Base64.decode64 instead. (called from decode_credentials at /Users/kain/.rvm/gems/ruby-1.9.3-p0/bundler/gems/devise-a949f9eca24f/lib/devise/strategies/authenticatable.rb:108)

Replacing this line with `Base64.decode64($1).split(/:/, 2)`makes it work again.