Ruby newbie. What's wrong with this code?
city_details['longitude'] + "," + city_details['latitude']
I get this error:
./player_location.rb:6:in `+': String can't be coerced into Float (TypeError)
Ruby newbie. What's wrong with this code?
city_details['longitude'] + "," + city_details['latitude']
I get this error:
./player_location.rb:6:in `+': String can't be coerced into Float (TypeError)