diff options
author | Andrew White <andrew.white@unboxed.co> | 2017-07-27 12:30:17 +0100 |
---|---|---|
committer | Andrew White <andrew.white@unboxed.co> | 2017-07-27 13:41:44 +0100 |
commit | bfa878d3b2a814db4d781143c9f5248b642900d0 (patch) | |
tree | 9b70ede48f605926028933ed7c58fbe44503df4c /activesupport/CHANGELOG.md | |
parent | d3c1266c338c3a37181c0a131c7d983e5e30c8d0 (diff) | |
download | rails-bfa878d3b2a814db4d781143c9f5248b642900d0.tar.gz rails-bfa878d3b2a814db4d781143c9f5248b642900d0.tar.bz2 rails-bfa878d3b2a814db4d781143c9f5248b642900d0.zip |
Fix division where a duration is the denominator
PR #29163 introduced a change in behavior when a duration was
the denominator in a calculation - this was incorrect as dividing
by a duration should always return a `Numeric`. The behavior of
previous versions of Rails has been restored.
Fixes #29592.
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r-- | activesupport/CHANGELOG.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 457eb84a62..42d3467e7d 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,3 +1,13 @@ +* Fix division where a duration is the denominator + + PR #29163 introduced a change in behavior when a duration was the denominator + in a calculation - this was incorrect as dividing by a duration should always + return a `Numeric`. The behavior of previous versions of Rails has been restored. + + Fixes #29592. + + *Andrew White* + * Add purpose and expiry support to `ActiveSupport::MessageVerifier` & `ActiveSupport::MessageEncryptor`. |