US states and world countries selectors

Hello all!

I was just wondering, I need to build a signup form with US states and
also
world countries selector. Is there already a helper os something that
implements or makes it easier to implement this for Rails (Rails is
making
me lazy!).

Btw, where could I get a list of world countries and US states? Is there
any
webservice for that ? Or just copy and paste from somewhere else?

Thanks in advance,

Marcelo.

Marcelo de Moraes S. wrote:

Btw, where could I get a list of world countries and US states? Is there
any webservice for that ? Or just copy and paste from somewhere else?

Google for the ISO standard 3166 - that’s the official list of country
codes.
ISO639 is the list of language codes, both 2-character and 3-character
versions,
depending on the revision of the standard. Both are covered in the
IETF’s
adaptations in RFC 3066, but check the ISO standards first.

Clifford H…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs