Sample application from rails tutorial