This project is archived and is in readonly mode.
number_to_human < 1.0 raises TypeError: nil can't be coerced to fixnum
-
Josh Kalderimis
- Tag changed from actionpack, actionview, rails3.0.3 to action_pack, action_view
- State changed from new to verified
- Assigned user changed from José Valim to Santiago Pastorino
- Importance changed from to Low
I can confirm that this is an issue on master and 3-0-stable.
The following patch has been supplied for review by Santiago
https://github.com/joshk/rails/commit/5387a52677d41b41d7431a8e9b78d...
-
Repository
- State changed from verified to resolved
(from [0eae62525696b57fe7fc4bbb0bf9c0bc7ee4e480]) fixes an issue with number_to_human when converting values which are less than 1 but greater than -1 [#6576 number_to_human < 1.0 raises TypeError: nil can't be coerced to fixnum state:resolved]
Signed-off-by: Santiago Pastorino santiago@wyeworks.com
https://github.com/rails/rails/commit/0eae62525696b57fe7fc4bbb0bf9c... -
Repository
(from [7c8a5f5759a0c63945d133280fb78deaa86b65b9]) fixes an issue with number_to_human when converting values which are less than 1 but greater than -1 [#6576 number_to_human < 1.0 raises TypeError: nil can't be coerced to fixnum state:resolved]
Signed-off-by: Santiago Pastorino santiago@wyeworks.com
https://github.com/rails/rails/commit/7c8a5f5759a0c63945d133280fb78...