0

I'm using Faker to generate seed data. I'm also using the Geocoder gem and API to validate addresses. The problem I'm facing is that the city is fake so most of my seed data isn't able to geocode. Is there a good way to get real city and state combinations for seed data? Is there a way with Faker::Address.city and Faker::Address.state?

user2954587
  • 4,661
  • 6
  • 43
  • 101

1 Answers1

0

Pongal is a valid US state generator that can be used in Geocoding applications. Check it out: https://rubygems.org/gems/pongal

bparanj
  • 433
  • 2
  • 6
  • 15