title: ruby: given an ip address, find out the City and State
body: <p>I've been searching for about ten minutes, haven't found a simple code sample yet.</p>
  
  <p>Basically, I'm looking for something like this:</p>
  
  <pre><code>puts Geocoder.lookup_location_by_ip("76.95.251.102")
  
  result California, USA
  </code></pre>
  
  <p>So a ruby method that decodes an ip address in to its City, State.</p>