Following along with avdi's object's on rails book