rails/rails — pull request #16412 by yevhene (2014-08-06 14:49:29+00:00)
Title: Fix in has_secure_password for passwords containing only spaces.

Steps:
1. Existing model with has_secure_password. With encrypted_password stored.
2. User try to update password with password containing only spaces.
3. Password is discarded. Model is valid and stored. Password is not changed but no error massage given.