Ruby on Rails 7.1.3 Module ActiveModel::SecurePassword::ClassMethods activemodel/lib/active_model/secure_password.rb Adds methods to set and authenticate against a BCrypt password. This mechanism requires you to have a XXX_digest attribute, where XXX is the attribute name of your desired password. The following validations are added automatically: Password must be present on creation Password leng