Displaying 2 results from an estimated 2 matches for "country_data".
Did you mean:
counter_data
2007 Nov 07
5
Unexplainable failure...at least for me
I have an address model with country_id and province_id fields
There is also a full_address method that returns an address that is in a
format that the google maps api will be able to return a long-lat
coords.
Within the full_address method there is a call to obtain the
province/state and country name.
---------
def full_address
...
full_address = [city, self.province.name,
2006 Nov 04
0
Globalize: how to set a space in thousands_sep
...far Globalize works perfectly for me with rails 1.1.6
However, when I wanted to set a space as the thousand separator, here is
what I did : I set " " (double quote, space, double quote) in the
thousands_sep field, for the corresponding country, in the file
vendor/plugin/globalize/data/country_data.csv , and then "rake
globalize:setup" as usual.
The result is not what was expected, though. The previous ''.'' thousand
separator was replaced with nothing! (e.g. 5.765 is now 5765)
I was tempted to put " " in the thousands_sep field, but 1) I didn...