It’s not at all uncommon for web applications to include some type of geographical functionality. The challenge is knowing how to set this up, maintain it, and incorporate it.
But if you’re building said applications in Rails, then you should check out Carmen.
Simply put, Carmen is a Rails gem that makes it trivially easy to include localized geographical names and abbreviations for countries and states in your project.
Just add Carmen do your Gemfile:
And you’re good to go. Check out usage here.