Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address edge case for number_to_human with units option. #9347

Merged
merged 1 commit into from Feb 22, 2013

Commits on Feb 22, 2013

  1. 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.
    hoffm committed Feb 22, 2013
    Copy the full SHA
    4e3ceed View commit details
    Browse the repository at this point in the history