diff options
author | Michal Zima <xhire@mujmalysvet.cz> | 2012-08-07 13:39:21 +0200 |
---|---|---|
committer | Michal Zima <xhire@mujmalysvet.cz> | 2012-11-26 12:34:32 +0100 |
commit | ea76e9a3126998578d683783483aa695cb6b657e (patch) | |
tree | ffb095736272c998fadba3a366c25f44823c3d74 /activemodel/CHANGELOG.md | |
parent | 02c30c64262fd9e1625bc7f3723729c4e62e610b (diff) | |
download | rails-ea76e9a3126998578d683783483aa695cb6b657e.tar.gz rails-ea76e9a3126998578d683783483aa695cb6b657e.tar.bz2 rails-ea76e9a3126998578d683783483aa695cb6b657e.zip |
Length validation handles correctly nil. Fix #7180
When nil or empty string are not allowed, they are not valid.
Diffstat (limited to 'activemodel/CHANGELOG.md')
-rw-r--r-- | activemodel/CHANGELOG.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activemodel/CHANGELOG.md b/activemodel/CHANGELOG.md index 133bb558a9..321320cdc2 100644 --- a/activemodel/CHANGELOG.md +++ b/activemodel/CHANGELOG.md @@ -1,5 +1,9 @@ ## Rails 4.0.0 (unreleased) ## +* Fixed length validator to correctly handle nil values. Fixes #7180. + + *Michal Zima* + * Use BCrypt's MIN_COST in the test environment for speedier tests when using `has_secure_pasword`. *Brian Cardarella + Jeremy Kemper + Trevor Turk* |