module ActiveModel::Validations::ClassMethods

def validators

# ]
# #
# #,
# #,
# => [
Person.validators

end
validates_with StrictValidator, strict: true
validates_with OtherValidator, on: :create
validates_with MyValidator

include ActiveModel::Validations
class Person

+validates_with+ method.
List all validators that are being used to validate the model using
def validators
  _validators.values.flatten.uniq
end