first_name = gets.chomp last_name = city undefined local variable or method `city' for #<Context:0x10099d8> What does "undefined local variable or method `city' for #<Context:0x10099d8>" mean? Tried searching in Google, but no results were returned ...
on 2015-12-11 07:10
on 2016-01-20 21:21
It's correct the message that return. What is city? Another variable or what? You must define city first and next you can associate to other variable.