Here's how I've been doing it
foo = Geocoder.search('Paris, TX')
foo.first.county
I'm using the BingAPI, and to figure out what options I can access on the foo.first
object, I take a look at the Geocoder docs:
http://rdoc.info/github/alexreisner/geocoder/master/Geocoder/Result/Bing