rails/rails — pull request #17065 by collimarco (2014-09-26 10:05:34+00:00)
Title: Password setter should always update @password

Even if the `unencrypted_password` parameter is blank the update should be reflected in the instance variable `@password`

The expected behavior is:

user.password = "example"
user.password = ""
user.password # => ""