To get list of cities there is method available CS.cities(state, country)
So to find cities for US you have to pass state & country to the CS.cities method
Example: CS.cities(:ak, :us)
Here :ak is the Alaska state from US.
This will return cities from Alaska state of US
There is one alternative available for CS.cities method, i.e CS.get(country, state) this will return same result like the CS.cities method.
Hi @amolpujari
To get list of cities there is method available
CS.cities(state, country)
So to find cities for US you have to pass state & country to the CS.cities methodExample: CS.cities(:ak, :us) Here :ak is the Alaska state from US. This will return cities from Alaska state of US
There is one alternative available for
CS.cities
method, i.eCS.get(country, state)
this will return same result like the CS.cities method.Hope this will help you. Thanks