Errors


#1



I've been bumping into a lot of errors in the Ruby console.
I haven't been able to get passed this one but the system says I can move onto the next lesson.

What's your first name? Dominic
undefined method `var' for #<Context:0x9d59b8>.


#2

Need more context here.
A look at the backtrace makes it seem like you defined your variables in a very javascript way
aka
var name = "Dominic"

In Ruby you can just say name = "Dominic"


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.