def add_rid_related_validations(options)
      validates(options[:field], presence: true)
      validates(options[:field], uniqueness: true) if options[:random_generation_method] != :uuid  # If we're generating UUIDs, don't check for uniqueness
    end
def add_rid_related_validations(options)
      validates(options[:field], presence: true)
      validates(options[:field], uniqueness: true) if options[:random_generation_method] != :uuid  # If we're generating UUIDs, don't check for uniqueness
    end
Add the rid related validations to the model.
 @param options [Hash] same as in RandomUniqueID.config