rails/rails — pull request #10941 by michihuber (2013-06-13 21:48:24+00:00)
Title: Only Validate Secure Password Confirmation if Present

According to the documentation, the password confirmation
should not be validated if it is nil. 5d93ef8 introduced
a regression where a nil password_confirmation raised
validation errors.