plataformatec/devise — pull request #1894 by wtn (2012-06-05 03:55:02+00:00)
Title: #update_with_password should use mass assignment options when password is not valid

I admit this code defensive. I can take out the method check if you do not think it is necessary. It was intended for broad ActiveModel compatibility.

References issue #1893