For Michael Hartl's Rails tutorial