Code for the Kehoe Learn Rails tutorial