diff options
author | José Valim <jose.valim@gmail.com> | 2012-05-28 07:08:05 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2012-05-28 07:08:05 -0700 |
commit | f5e26bcb1a9a44b763d4d9ff117705312d1c650f (patch) | |
tree | 2e1de9537b20a29e24d0447f7ce5d2175f8cbc9d /activemodel/CHANGELOG.md | |
parent | 5acb10d6c359f9b715e5b5a5d26a524581a9ac41 (diff) | |
parent | b3ccd7b27afabacba5f537ef5c428314df25eae3 (diff) | |
download | rails-f5e26bcb1a9a44b763d4d9ff117705312d1c650f.tar.gz rails-f5e26bcb1a9a44b763d4d9ff117705312d1c650f.tar.bz2 rails-f5e26bcb1a9a44b763d4d9ff117705312d1c650f.zip |
Merge pull request #6517 from purcell/validates-false-value
Don't enable validations when passing false hash values to ActiveModel.validates
Diffstat (limited to 'activemodel/CHANGELOG.md')
-rw-r--r-- | activemodel/CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activemodel/CHANGELOG.md b/activemodel/CHANGELOG.md index 789cff0673..eb34edb91b 100644 --- a/activemodel/CHANGELOG.md +++ b/activemodel/CHANGELOG.md @@ -1,5 +1,7 @@ ## Rails 4.0.0 (unreleased) ## +* Passing false hash values to `validates` will no longer enable the corresponding validators *Steve Purcell* + * `ConfirmationValidator` error messages will attach to `:#{attribute}_confirmation` instead of `attribute` *Brian Cardarella* * Added ActiveModel::Model, a mixin to make Ruby objects work with AP out of box *Guillermo Iguaran* |