netflam/netflam — pull request #3 by pauldub (2014-09-28 13:27:28+00:00)
Title: Fix password validation issues when updating a user's profile.

When updating one's profile, the password length validation fails
because it is a nil value.

The solution is to allow nil values and test for password_digest
presence.

The real solution would be to add a password_confirmation field to the
signup form and use the default `has_secure_password` validations.