On Jueves, 9 de Septiembre de 2010 19:48:45 Pedro G. escribió:
> Hi,
>
> I've configured activescaffold to use spanish currency format by means
> of a es.yml file and I've configured as well the relevant columns of
> my model as follows:
>
> config.columns[:amount].options = {:format => :currency}
>
> Everything runs fine except for the fact that field_search does not
> recognize the spanish decimal separator for the currency column. It
> expects '.' instead of ','.
>
> Is there any way to make field_search use the currency format
> specified in my es.yml file?

I have fixed it, now field search convert numbers to native format

-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.

Reply via email to