title: All Countries States Cities and Zipcodes in a Application
body: <p>Is there a way getting all countries, states,cities zipcodes/ in one single database.</p>
  
  <p>I have been looking all over.</p>
  
  <p>I discovered <a href="http://www.geonames.org" rel="nofollow noreferrer">geonames.org</a>, which has I guess all of the content. But there is no way to fetch that data directly.</p>
  
  <p>I am using rails. If there any helpers or Plugins, it'd be great. It would be awesome if there is a complete resource in any parsable format which I can use to get this database in place.</p>
  
  <p>Please recommend if you any thanks</p>
  
  <p>I do have the iso country code list but no States for some countries.</p>
  
  <p>Thanks in advance</p>