On Wed, Oct 26, 2011 at 10:23 PM, cipher_neo l33...@gmail.com wrote:
I encountered a problem today, in that the number_to_human helper has a
defect where it spits out an error when passed any number bigger than 0 and
less than 1.
eg number_to_human(0.2) gives nil can't be coerced into fixnum
yes, that seems to have done the job, thanks!
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/OU2B4X8HpiQJ.
To post to this group, send email to
I encountered a problem today, in that the number_to_human helper has a
defect where it spits out an error when passed any number bigger than 0 and
less than 1.
eg number_to_human(0.2) gives nil can't be coerced into fixnum
So, I found this patch:
3 matches
Mail list logo