Author Archives

spam is evil

Uploaded with plasq’s Skitch!

merb_annotate_models

I like the handiness of Dave Thomas’ Rails plugin annotate_models. I’ve been doing some Merb development so I decided to do a quick port of the plugin.

It can be found over at GitHub.

stack: A Ruby Build Tool For .Net Development

This is an introduction to an internal .Net build tool written in Ruby. Although it’s not Open Source I thought some would be interested in hearing about it.

The idea of writing a .Net build tool in Ruby comes up from time-to-time. Most recently, that I’ve seen, Jeremy Miller briefly mentioned the idea. Now that […]

DRY up ActiveRecord specs a bit

These days I use RSpec exclusively. Well, there are those few remaining crufty test/unit tests hanging around but I digress. When writing specs for ActiveRecord models there is a particular pattern I follow. I tend not to use fixtures unless their required. Typically I just new up a model with the required data. If the […]

Firefox Extensions

I’m in the process of setting up a new computer and I’m trying to remember all the Firefox extensions that I use. This list is mostly for myself, so that I don’t have to think so much the next time around.

FireBug
Web Developer
Delicious Bookmarks
Tab Mix Plus
YSlow
PermaTabs
Resizeable Textarea

I only use these at work where it’s Windows. […]

deploying a gem using capistrano

This is something I wrote to push gems to an internal gem server. It is a simple Capistrano recipe. Here is the Capfile. You can easily move the GemDeployer module into a separate file if you want to reuse it.

module GemDeployer
def deploy(gem_path_glob)
gem = Dir[gem_path_glob].first
 
unless gem
[…]

hello world and all of that

The start of this weblog completes the first item on my nebulous list of 2008 New Years resolutions. I’ve been a lurker of the interwebs for many years. I’m a programmer going on 7 years. I read a lot of weblogs (148 feeds and counting, yeah, probably too many) and I always follow what the […]


You are viewing a mobilized version of this site...
View original page here

Mobilized by Mowser Mowser
Mobilytics