thecodecrate / city-state

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

Fix wrong arguments number for cities lookup push #47

Closed rlvendramini closed 1 year ago

rlvendramini commented 3 years ago

Method [] = for @cities hash returned me an error, when I was trying to import missing cities using cities lookup strategy. I changed [] = method by .push() and then it worked!

Captura de Tela 2021-03-04 às 13 59 01