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,

Posted in Miscellaneous Tagged with: , , , ,

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

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

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

Posted in Miscellaneous Tagged with: , ,

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

Posted in Miscellaneous Tagged with: , , , , ,

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

Posted in Miscellaneous Tagged with: , ,

Java Courses

Sign up for news and exclusive offers on new courses.