title: Form to enter City and Country in Rails
body: <p>My application has a form where you need to enter a purchase in (date, amount, description, location etc). 
  The location part is where im struggling a little. I'm trying to decide on the easiest method to enter City and Country so that later i can sort the data via, city or country. </p>
  
  <p>At the moment it is two text fields for each. </p>
  
  <p>I've seen this <a href="https://stackoverflow.com/questions/4460269/need-a-list-of-cities-countries">post</a> and it is the closest thing i've seen to being useful. </p>
  
  <p>My question is then, what is the most user friendly way to enter location data for purchases in rails? Should i just leave them as text fields and compare it with a database of names like mentioned in that link? </p>
  
  <p>Cheers.</p>