aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/CHANGELOG.md
diff options
context:
space:
mode:
authorBradley Priest <bradleypriest@gmail.com>2017-05-27 21:47:07 +0800
committerBradley Priest <bradleypriest@gmail.com>2017-05-27 21:58:35 +0800
commitd83b8e65102d625c9024cd9a2727a10b0ef83b79 (patch)
tree7dbd0ce4b165494aeee9454bc4392f38aa251d7a /activemodel/CHANGELOG.md
parentfcc47bcfccc7578aa0414710eecdad006085a911 (diff)
downloadrails-d83b8e65102d625c9024cd9a2727a10b0ef83b79.tar.gz
rails-d83b8e65102d625c9024cd9a2727a10b0ef83b79.tar.bz2
rails-d83b8e65102d625c9024cd9a2727a10b0ef83b79.zip
Fix regression in Numericality validator where extra decimal places on
a user input for a decimal column were ignored by numerically validations
Diffstat (limited to 'activemodel/CHANGELOG.md')
-rw-r--r--activemodel/CHANGELOG.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/activemodel/CHANGELOG.md b/activemodel/CHANGELOG.md
index e707a65147..7483704212 100644
--- a/activemodel/CHANGELOG.md
+++ b/activemodel/CHANGELOG.md
@@ -1,3 +1,8 @@
+* Fix regression in numericality validator when comparing Decimal and Float input
+ values with more scale than the schema.
+
+ *Bradley Priest*
+
* Fix methods `#keys`, `#values` in `ActiveModel::Errors`.
Change `#keys` to only return the keys that don't have empty messages.