following along with the Hartl rails tutorial.