working through Hartl's rails tutorial