HTTP Basic Authentication with Devise
Devise is becoming a popular gem for adding modular authentication to a rails application. It builds on top of warden, which provides a pluggable architecture for multiple authentication strategies at the rack level. Since the cool kids are using it, we did not want to be left out and ported our main application from restful_authentication. [...]