Hi everyone,
I am new to rails. I want to know more about IP based Location, GeoLocation URL routing.
I have 2 questions.
The first one..
Based on the location of the country, how to you have URL routing?
If my IP is from USA, I should be directed towards USA homepage.
If I am from UK, I should be directed from UK homepage.
If I am from any other country, I should be directed towards International homepage.
Could you please help me with the rails code? Could you help me with a good tutorial?
and now the second question....
How to use GeoLocation to route people to their cities?
Lets say I access the net from LA, I should be directed to LA homepage..
If I am accessing the net at a small town, I should be directed towards closest city homepage..
If I am at an international location [ outside USA say ] then I should be directed towards International page
Looking forward for your help
Gautam