HW2-Rails Intro - minor refactor