Devise, Rails 3, & HTTP Authentication

I’ve been working on a Rails application in which I’m using Devise for the user account and authentication management library.

Out-of-the-box, Devise will throw up a browser dialog for authentication if the user fails properly login. For this particular project, I wanted to get rid of the dialog and exclusively use pages.

There were a number of small changes that I had to make to get this to work. Google wasn’t the biggest help, so here’s what I had to do in my specific case:

Continue reading “Devise, Rails 3, & HTTP Authentication”