aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/multibyte_test_helpers.rb
diff options
context:
space:
mode:
authorAndrew White <andrew.white@unboxed.co>2017-07-27 12:30:17 +0100
committerAndrew White <andrew.white@unboxed.co>2017-07-27 13:41:44 +0100
commitbfa878d3b2a814db4d781143c9f5248b642900d0 (patch)
tree9b70ede48f605926028933ed7c58fbe44503df4c /activesupport/test/multibyte_test_helpers.rb
parentd3c1266c338c3a37181c0a131c7d983e5e30c8d0 (diff)
downloadrails-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/multibyte_test_helpers.rb')
0 files changed, 0 insertions, 0 deletions