# Detect users country

**URL:** <https://www.ruby-forum.com/t/detect-users-country/145918>\
**Category:** Rails\
**Created:** [August 15, 2008, 1:58am UTC](https://www.ruby-forum.com/t/detect-users-country/145918 "2008-08-15T01:58:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DEfusion](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e68b1a/32.png) [@DEfusion](https://www.ruby-forum.com/u/DEfusion)\
**Post date:** [August 15, 2008, 1:58am UTC](https://www.ruby-forum.com/t/detect-users-country/145918/1 "2008-08-15T01:58:09Z")

</div>

Does anyone know of a plugin that will help me figure out the country  
the user is visiting from (e.g. based on the IP etc.)?

---

<div class="post-metadata">

**Author:** ![DEfusion](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e68b1a/32.png) [@DEfusion](https://www.ruby-forum.com/u/DEfusion)\
**Post date:** [August 15, 2008, 2:08am UTC](https://www.ruby-forum.com/t/detect-users-country/145918/2 "2008-08-15T02:08:41Z")

</div>

On Aug 14, 4:57 pm, DEfusion [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Does anyone know of a plugin that will help me figure out the country  
> the user is visiting from (e.g. based on the IP etc.)?

from my bkmarks (i haven’t tested

[http://blog.hungrymachine.com/2007/10/22/super-fast-ip-to-lat-lng-in-rails](http://blog.hungrymachine.com/2007/10/22/super-fast-ip-to-lat-lng-in-rails)
