Monthly Archive:: October 2008

Pygments TextMate Bundle

Following my last post, a few people asked me to create a Pygments TextMate bundle. Ask and ye shall receive (on GitHub). Prerequisites Install Pygments following these instructions. Installation First method: sudo mkdir -p /Library/Application\ Support/TextMate/Bundles cd /Library/Application\ Support/TextMate/Bundles git clone git:// "Pygments.tmbundle" If TextMate is running while you perform the

Continue Reading

Review of the first two Envycasts

The following quiz contains five fairly simple questions about ActiveRecord and Rails 2.2. Try to see if you can answer all of them. 1) What’s wrong with the following (technically valid) line of code? Guide.find(:all, :include => [:user, {:questions => [:user, {:answers => :user}]}], :conditions => "answers.user_id = 42") 2) Having

Continue Reading