thecodecrate / city-state

Simple ruby gem to create form lists with cities and states
MIT License
306 stars 135 forks source link

CS.countries also pulls headers #22

Open psoliver92 opened 7 years ago

psoliver92 commented 7 years ago

CS.countries also includes the following pair in the array:

:COUNTRY_ISO_CODE => "country_name"

mikesutton commented 6 years ago

I got this too, I'm surprised no one else is talking about this - maybe no one really using the gem.

Anyway - i use it just as array so I do this:

(CS.countries.values - ['country_name']).sort

jpsilvashy commented 5 years ago

I think its fair to say this is no longer being maintained, I recommend maybe getting each one out and creating your own tables?