2nd homework for RoR course, Rails App with validations