On 24 Jul 2009, at 12:41, Conrad Taylor wrote:

> Loading development environment (Rails 2.3.3)
> >> include ActionView::Helpers::NumberHelper
> => Object
> >> number_to_currency(12.3)
> >> 12.3
>
> Pretty weird stuff - one of my coworkers has the same problem on his
> setup.
>
> Can anyone reproduce this bug?
>
> I tried the above and here's my transcript:
>
> Loading development environment (Rails 2.3.3)
> >> include ActionView::Helpers::NumberHelper
> => Object
> >> number_to_currency(12.3)
> => "$12.30"
>
> What platform are you using to execute the above?

Are you sure you don't use any old localization plugin or piece of  
code that overwrites the default?


Best regards

Peter De Berdt


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to