ActiveModel::SecurePassword
Inherits ActiveModel::Validations < ActiveModel::Attributes
Constants
MAX_PASSWORD_LENGTH_ALLOWED = 72
Macros
has_secure_password(attribute = :password)
The validations ride the normal validation chain: the generated method is appended to __run_validations via previous_def (the gem includes ActiveModel::Validations for the same effect).