rails/rails — pull request #9311 by hoffm (2013-02-16 21:57:51+00:00)
Title: Address edge cases for number_to_human with units option.

`ActiveSupport::NumberHelper#number_to_human` returns the number unaltered when
when the units option is an empty hash or when its smallest key is larger than
the number.

Examples:

```
number_to_human(123, :units => {}) # => 123
number_to_human(123, :units => {:thousand => 'k'}) # => 123
```

Fixes #9269.