validations for product.rb