RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

world.db v2.0 - Free Open World Data, Schema n Models (Places/Countries/Regions/Cities)

Hello, I've updated the worlddb gem that includes models for places, continent, countries, regions, cities and more. The worlddb gem also includes free open public domain plain text fixtures for all countries and territories in the world plus some regions/states/provinces and some cities/towns/hamlets. Use it like c = City.find_by(key: 'wien'); c.country.name # => 'Austria' and so on. Cheers.

Comments

Post a Comment

Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam problem. Sorry!