Getting a user country name from originating IP address with Ruby on Rails
- by TK
I want to extract a user country name from visitors' IP addresses.
I could get the IP address with remote_ip. But what could be
the easiest way to get the country name?
It doesn't have to be super accurate. Any ruby library (gem or plugin) to do this?
I want an simple and easy solution for this.