gem 'locationer', github: 'belike81/locationer_gem'
mount Locationer::Engine, at: '/locationer'
rake locationer:install
locationer/location_data/(*US or Mexico)/cities_nearby/(*city_name)
-
- provide your own value for this
city_finder = Locationer::CityFinder.new('US')
to instantiate finder object with the desired country
city_finder.nearby_cities(city: 'Los Angeles', state: 'CA')
to get back an array of Locationer::GeoData objects