Author Archives: Mack Earnhardt
Technology blog relocation
For my RSS feed subscribers and anyone else who is interested, I’ve relocated my technology blogging to Agile Reasoning. Thanks!
Verifying select field value with Cucumber and Webrat
I’ve been using Cucumber and Webrat for only a couple months now. Today I needed something new and it wasn’t obvious how to make it work. Here’s an example of a test in Cucumber: Given I am Sam When I … Continue reading
Installing mod_rails on Ubuntu Hardy
First, install these packages using apt-get or aptitude: ruby rubygems ruby1.8-dev build-essential apache2-mpm-prefork apache2-prefork-dev
Moments of Clarity
How do you use your Windshield Time? You know, the time you spend alone in your car. Many use it to listen to music or talk radio. Others may catch up on phone calls or, faith defend us, email and … Continue reading
The Longoria Identity
Playing the Hot Corner If you’re confused about Eva Longoria of Desperate Housewives vs. Evan Longoria of the Tampa Bay Rays, I say it doesn’t matter. They’re both winners… they just play for different teams. ;-)
Using belongs_to in Rails model validations when the parent is unsaved
Can’t get there from here In one of my Ruby on Rails projects, I have a model validation which is dependent on attributes from a belongs_to parent. Normally, you can refer to a parent model as child.parent and access the … Continue reading
Integrating your WordPress Blog with Google Analytics
If you’re like me, you’d like to know whether anyone is paying attention to what you have to say online. There are plugins for WordPress that will make this information available through the wp-admin pages. There are also tools such … Continue reading
Moving to WordPress
Well, here it is my blog is only a week old and I’m already switching to a different engine on the back end. As I find my way around WordPress I’ll get the old content moved over. My primary reason … Continue reading
Speeding School Bus
So I was rolling through a 25MPH School Zone yesterday at 35MPH. I know, I’m bad, I should be punished. ;-) Then why the hell was the Washington Township school bus passing me!
Economic Misfortune
Apparently, Madonna, Justin Timberlake, and Timbaland originally had 5 minutes to save the world. Until, that is, Warner Bros insisted on a 20% across the board cost reduction.