mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
a54e13bd2e
Rails 5.1 introduce an `ActiveSupport::Duration::Scalar` class as a wrapper around a numeric value as a way of ensuring a duration was the outcome of an expression. However the implementation was missing support for modulo operations. This commit adds support for those operations and should result in a duration being returned from expressions involving them. Fixes #29603 and #29743. |
||
---|---|---|
.. | ||
active_support | ||
active_support.rb |