Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming a city or Delete city #43

Open
mavivi95 opened this issue Apr 4, 2020 · 3 comments
Open

Renaming a city or Delete city #43

mavivi95 opened this issue Apr 4, 2020 · 3 comments

Comments

@mavivi95
Copy link

mavivi95 commented Apr 4, 2020

Hello, I have a problem with the gem. I want to rename and delete some city, becouse these are wrong, but when I try this the gem doesnt work, I created the file city-loockup.yml but this didnt work is so frustrating becouse the gem is so good. I had not problem change the state or the countries, is possible to rename, add or delete. But I cant with the cities.

CO: NAR: "Anganoy": "" "Buga": "" "Cartago": "" "Chaparral": "" "Girardot": "" "Imues": "La Union" "Alban": "Alban" "Aldana": "Aldana" "Ancuya": "Ancuya"

For example sometimes the cities Anganoy, Buga, Cartago, Chaparral and Girardot are delete but sometimes dont. And never I can created the cities Alban, Aldana, Ancuya.

@loureirorg
Copy link
Collaborator

There's a typo on your filename. It should be city-lookup.yml, not city-loockup.yml (you put an extra "c").

@mavivi95
Copy link
Author

mavivi95 commented Apr 4, 2020

Thanks so much for your answer. Oww, I am sorry .. I wrote wrong the menssage , effectiblely I named city-lookup.yml to the file am sure of this but this dont work ... Is so weird becouse sometimes the same code go well but sometimes not. I also tried the line CS.set_cities_lookup_file('new-city-names.yml') and this only returned nill.

I achieved to change the name of contries and states but not with cities.

Please, I will so gratefull if you can help me.

image

@duduribeiro
Copy link

@mavivi95 I think you are facing the same problem as me on #67

I've opened a PR to fix it on #68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants