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/test/subscriber_test.rb | |
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/test/subscriber_test.rb')
0 files changed, 0 insertions, 0 deletions