add validations to plan_miles and log_miles to ensure numericality within the range 1..100 or nil