Blog Archives

Troubleshooting Passenger and Devise Problems on Ruby on Rails

I spent more time than I’d like to admit yesterday on a problem with Devise that I was seeing on a Rails application that I was deploying to production. Like most head-scratcher bugs that we as software developers track down,

Tagged with: , , , ,
Posted in Miscellaneous

Testing Devise Authentication in Rails 3.1

I ran into a bit of a hiccup while writing tests in RSpec for a site I’m working on which is using Devise for authentication. I spent a short time working through the documentation at testing Devise using rspec and

Tagged with: , , , , , ,
Posted in Miscellaneous

Taking Another Look At Python

The first few times I encountered Python was in a local bookstore, and I think the same book was there each time.  Each time I was immediately put off by this unfortunate volume, which seemed to suggest that the greatest

Tagged with: , ,
Posted in Miscellaneous

Ruby on Rails Enumerations and Fixtures

I had to figure out Ruby on Rails enumerations and fixtures today. The solution will be here in just a moment, but first, some gratuitous background: I was working on a Person resource — or a “Contact” resource if you

Tagged with: , , , , ,
Posted in Miscellaneous

Graphical Unit Testing for Ruby on Windows

In my last post I discussed some of the pros and cons of Ruby on Rails versus .NET. One of my complaints at the time was that Ruby lacks a good graphical unit test runner, because I’m a sucker for

Tagged with: , ,
Posted in Miscellaneous