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”
Some good stuff around the web this week. Here’s what I enjoyed:
Continue reading “Scaling, Fonts, Rails Gems, & More”
One of the sites that I manage was sucking an inordinate amount of bandwidth over the past week or so.
The raw access logs showed that an image that I was hosting was being referenced on a number of different sites. Preventing this from happening is an easy fix:
Continue reading “Update htaccess To Prevent Hotlinking”
Some of my favorite stuff from around the web this past week:
Continue reading “CSS Buttons, Canvas, Cookies, Eggs, & More”