mlen/sequel_secure_password — pull request #12 by herregroen (2014-11-14 13:55:05+00:00)
Title: Removes unnecessary validation

No need to check presence of password_confirmation. If the user is changing their password then password isn't nil and thus won't match a password_confirmation that isn't present. If the user isn't changing their password then password is nil and thus password_confirmation should be too.