kind() public

Returns the kind of the validator.

PresenceValidator.kind # => :presence UniquenessValidator.kind # => :uniqueness
Show source
Register or log in to add new notes.