diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-03-17 10:55:21 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-03-17 10:55:21 +0100 |
commit | 378c8d2c996558aa4108280d5f0db8daf040d0fc (patch) | |
tree | 568c4b8bad12a6b477fc705d2e703c86ce8e1168 /actionview/CHANGELOG.md | |
parent | a0c1c18e4d85e2d95241a1924683b396bd3ae4e5 (diff) | |
download | rails-378c8d2c996558aa4108280d5f0db8daf040d0fc.tar.gz rails-378c8d2c996558aa4108280d5f0db8daf040d0fc.tar.bz2 rails-378c8d2c996558aa4108280d5f0db8daf040d0fc.zip |
fix `number_to_percentage` with `Float::NAN`, `Float::INFINITY`.
Closes #14405.
This is a follow-up to 9e997e9039435617b6a844158f5437e97f6bc107 to restore
the documented behavior.
Diffstat (limited to 'actionview/CHANGELOG.md')
-rw-r--r-- | actionview/CHANGELOG.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md index a0e773e887..db3fa3be86 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. + + Fixes #14405. + + *Yves Senn* + * Add `include_hidden` option to `collection_check_boxes` helper. *Vasiliy Ermolovich* |