geokit / geokit-rails

Official Geokit plugin for Rails/ActiveRecord. Provides location-based goodness for your Rails app. Requires the Geokit gem.
MIT License
1.57k stars 245 forks source link

Make geocode_ip_address consistent #85

Closed thomdixon closed 8 years ago

thomdixon commented 8 years ago

retrieve_location_from_cookie_or_service would return a GeoLoc if the location was not cached, and a Hash if it was. Now a GeoLoc object is returned regardless.

mnoack commented 8 years ago

Thanks @thomdixon

thomdixon commented 8 years ago

No problem! Thanks for the awesome lib!