Logitech Sucks Twice

Last Christmas my wife bought me a Logitech Harmony remote. Over the past few months I’ve noticed that it barely holds a charge and so if I don’t leave it on the charger all the time it just dies. Last night I went to use the remote and it burned my hand it [...]

Uses for banana

My two year old son has picked up an interesting habit of using ‘banana’ like the f-bomb. “I hate that! Banana you!”

Add Theming Engine to Your Rails Application

I’ve written about the disguise gem before, but I’ve made enough changes that it warrants a new blog post. I noticed a few performance problems which have now been fixed and the configuration has been cleaned up a bit.
Disguise makes it simple to swap out the views used by your rails application either by [...]

acts_as_taggable libraries and the big case problem.

Over the years I’ve had a chance to use the three tagging libraries available for Ruby on Rails:

acts-as-taggable-on
acts_as_taggable_on_steroids
acts_as_taggable

I think the original acts as taggable is now defunct. The other libraries are derivatives of that library. In using tags on various sites the problem I always seem to run across is how to deal [...]

undefined method `assert_no_difference’ and `assert_difference’

I’ve been upgrading some old code and noticed that my unit tests started spitting out a lot of errors like this:

undefined method `assert_no_difference’

and

undefined method `assert_difference’

It turns out that I needed to change my base classes from Test::Unit::TestCase to ActiveSupport::TestCase:
 
class UserTest < Test::Unit::TestCase
# stuff
end
 
changes to:
 
class UserTest < ActiveSupport::TestCase
# stuff
end
 

What I Got for Christmas This Year

We’re home from my parents which in a way marks the end of the Christmas celebration for us. Although, I am pushing for a return of the Twelve days of Christmas which doesn’t end until January 5.
Here’s what I got for Christmas this year:
A chance to play Santa Claus with the most beautiful Misses [...]