diff options
author | Yevhene Shemet <yevhene@gmail.com> | 2014-08-06 17:41:36 +0300 |
---|---|---|
committer | Yevhene Shemet <yevhene@gmail.com> | 2014-08-06 22:11:06 +0300 |
commit | f8dcb365dfb8506c60297a4434f70f41b5259250 (patch) | |
tree | d11691bec39ebeed383ad1993516616d475c8143 /activemodel/CHANGELOG.md | |
parent | d5be08347fb7ff758572775ec93247a3ca886004 (diff) | |
download | rails-f8dcb365dfb8506c60297a4434f70f41b5259250.tar.gz rails-f8dcb365dfb8506c60297a4434f70f41b5259250.tar.bz2 rails-f8dcb365dfb8506c60297a4434f70f41b5259250.zip |
Allow password to contain spaces only.
Diffstat (limited to 'activemodel/CHANGELOG.md')
-rw-r--r-- | activemodel/CHANGELOG.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/activemodel/CHANGELOG.md b/activemodel/CHANGELOG.md index 8d22e3ac46..b1a3d660d6 100644 --- a/activemodel/CHANGELOG.md +++ b/activemodel/CHANGELOG.md @@ -1,3 +1,9 @@ +* Passwords with spaces only allowed in `ActiveModel::SecurePassword`. + + Presence validation can be used to resore old behavior. + + *Yevhene Shemet* + * Validate options passed to `ActiveModel::Validations.validate`. Preventing, in many cases, the simple mistake of using `validate` instead of `validates`. |