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)
User Load (0.7ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`deleted_at` IS NULL AND `accounts`.`type` IN ('User') AND `accounts`.`authentication_token` = 'YldGemRHVnlhMkZwYmtCbmJXRnBiQzVqYjIwNmRtbHpkV0ZzYVhwbA==\n' LIMIT 1
Replacing this line with Base64.decode64($1).split(/:/, 2)makes it work again.
Thanks, I was struggling with this for days!
I'm working in this issue.
Do not use deprecated ActiveSupport::Base64. Closes #1554
Fixed at master
fantastic! thank you!
I think the problem was this: rails/rails@44319ef