Am 19.08.2010 um 16:59 schrieb Werner Laude:

> Ruby 1.9.2
> Rails 3 --pre
> 
> db:
> price decimal 6,2
> 
> view:
> number_to_euro(@location.price) 


o.k 

<%=number_to_currency @location.price%>

ohne helper  => via locale de

Werner Laude
http://www.webagentur-laude.de





_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/listinfo/rubyonrails-ug

Antwort per Email an