On Fri, Jul 24, 2009 at 3:26 AM, pimpmaster <[email protected]> wrote:

>
> Back in 2.1.1 everything was sweet:
>
> Loading development environment (Rails 2.3.3)
> >> include ActionView::Helpers::NumberHelper
> => Object
> >> number_to_currency(12.3)
> >> "$12.30"
>
> Then I upgraded to 2.3.2 and:
>
> Loading development environment (Rails 2.3.3)
> >> include ActionView::Helpers::NumberHelper
> => Object
> >> number_to_currency(12.3)
> >> 12.3
>
> Woops! Lets try to be more explicit
>
> >> number_to_currency(12.3, :unit => "&euro;")
> >> 12.3
>
> Well that didnt work either, lets try upgrading to the latest version
> of Rails
>
> 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?

-Conrad

--~--~---------~--~----~------------~-------~--~----~
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