instance method
validate
Ruby on Rails edge
Since edgeSignature
validate(_record, _attribute)
Validates the password and adds error to the record in the given attribute. Argon2 has no maximum input size, no validation needed.
Parameters
-
_recordreq -
_attributereq
Source
# File activemodel/lib/active_model/secure_password/argon2_password.rb, line 37
def validate(_record, _attribute)
end
Defined in activemodel/lib/active_model/secure_password/argon2_password.rb line 37
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveModel::SecurePassword::Argon2Password