aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/xml_mini
diff options
context:
space:
mode:
authorhoffm <m@hof.fm>2013-02-20 16:15:59 -0500
committerhoffm <m@hof.fm>2013-02-22 08:25:51 -0500
commit4e3ceedeba4f95d6f51380277c5562049ccdc264 (patch)
tree0637fb37a974ab68f97ca5584f22e25b1b56e60e /activesupport/test/xml_mini
parent31f807c7aaaf12c16ea1572559c00f49d54d6f43 (diff)
downloadrails-4e3ceedeba4f95d6f51380277c5562049ccdc264.tar.gz
rails-4e3ceedeba4f95d6f51380277c5562049ccdc264.tar.bz2
rails-4e3ceedeba4f95d6f51380277c5562049ccdc264.zip
Address edge case for number_to_human with units option.
ActiveSupport::NumberHelper#number_to_human now returns the number unaltered when the units hash does not contain the needed key, e.g. when the number provided is less than the largest key provided.
Diffstat (limited to 'activesupport/test/xml_mini')
0 files changed, 0 insertions, 0 deletions