Following along the tutorial from learn rails book