aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2015-03-06 09:12:27 +0100
committerYves Senn <yves.senn@gmail.com>2015-03-06 09:12:27 +0100
commit8a3bd0899f50963c0695f69c6a018b4a411e21b9 (patch)
tree1173a5b2b841bab6e99e8d9e84791cd853cf8bda /actionview
parent081a3963ea2aab617a92874d7ef59ce98eee6a64 (diff)
downloadrails-8a3bd0899f50963c0695f69c6a018b4a411e21b9.tar.gz
rails-8a3bd0899f50963c0695f69c6a018b4a411e21b9.tar.bz2
rails-8a3bd0899f50963c0695f69c6a018b4a411e21b9.zip
put the changelog entry in the right file :sweat: [ci skip]
Diffstat (limited to 'actionview')
-rw-r--r--actionview/CHANGELOG.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md
index 101f1263d9..82a636315a 100644
--- a/actionview/CHANGELOG.md
+++ b/actionview/CHANGELOG.md
@@ -1,3 +1,10 @@
+* `number_to_percentage` does not crash with `Float::NAN` or `Float::INFINITY`
+ as input when `precision: 0` is used.
+
+ Fixes #19227.
+
+ *Yves Senn*
+
* Fixed the translation helper method to accept different default values types
besides String.