C
CiriusMex
Hi folks ^^
Here is my problem. I have a page on my RoR site which display prices.
The idea is to display those prices in the currency corresponding to
the user country. I already have a table in my database with the
currency in function of the country and I implemented the convertion
module (using Yahoo Finance plugin, works really great!).
My problem is how do I do to access user's browser parameters in order
to get the country parameter?
I know it can be done in the most part of the languages (such as Java
and ASP.net) so I hope it can be done with RoR too...Checked on google
and didn't find anything interesting on the subject.
Thanks in advance for the help.
Have a good day,
Olivier.
Here is my problem. I have a page on my RoR site which display prices.
The idea is to display those prices in the currency corresponding to
the user country. I already have a table in my database with the
currency in function of the country and I implemented the convertion
module (using Yahoo Finance plugin, works really great!).
My problem is how do I do to access user's browser parameters in order
to get the country parameter?
I know it can be done in the most part of the languages (such as Java
and ASP.net) so I hope it can be done with RoR too...Checked on google
and didn't find anything interesting on the subject.
Thanks in advance for the help.
Have a good day,
Olivier.