PJ Hyett

CHOW.com has Launched!


over 5 years ago by PJ Hyett on PJ Hyett. [Linked from: Softies on Rails]
It’s incredible how effective a small team of passionate Rails’ developers can be when there’s a deadline. We managed to build CHOW.com...

Composite Primary Keys are Good


over 5 years ago by PJ Hyett on PJ Hyett.
Composite Primary Keys (CPKs) haven't ever been supported by the Rails core. Dr. Nic's compositeprimarykeys gem was promoted on the Rails' Blog, but only...

Err the Blog


almost 6 years ago by PJ Hyett on PJ Hyett.
Apparently Digg is a cultural phenomenon, but I'd love to hear how it's useful when my last article about Javascript mouseovers received over 1800 diggs...

Timeout your Mouseovers


almost 6 years ago by PJ Hyett on PJ Hyett.
This is a fun effect I built for Chowhound that does one better for mouseovers. The problem with most menu systems is that they're really touchy whether...

Turn off Sessions


almost 6 years ago by PJ Hyett on PJ Hyett.
This line of code doubles Chowhound's available requests per second. class ApplicationController < ActionController::Base session :off end As my...

The 'Hound is Coming


almost 6 years ago by PJ Hyett on PJ Hyett.
In three months we've managed to turn around a site run by perl code written in '95, to a full blown Rails app humming along on Apache, Mongrel, MySQL,...

Colored svn diff


almost 6 years ago by PJ Hyett on PJ Hyett.
Who else likes to run a svn diff to double check your changes and remember what all you did before commiting? I do, but it needed some color: #!/usr/bin...

Put title tags on your icons!!


almost 6 years ago by PJ Hyett on PJ Hyett.
There are few things more annoying than visiting a website you're unfamiliar with that has a slew of icons that are difficult to discern. Either label...

Using && or and in Ruby


~6 years ago by PJ Hyett on PJ Hyett.
Two reasons why I use && in my code: The Rails source does I learned to program in C++ so the following is downright scary a = 'test' b = nil...

Blackjax 3.0


~6 years ago by PJ Hyett on PJ Hyett.
First off, sorry about the downtime. Dreamhost and Typo haven't been playing nice lately. But, I made a slew of improvements to Blackjax that I thought...