add validation to Product model and amende gemfile to include ruby version