John Merlino wrote: [...] > I was able to fix the above error. However, I try to inspect what the > value of resource is and I get this using the p command as the rails > guide suggests: > > (rdb:1) p resource > NameError Exception: undefined local variable or method `resource' for > #<VerbsController:0x1061102e0>
The error means just what it says. You haven't defined "resource" at that point in your code. Try using the l command in the debugger to make sure you're where you think you are. Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

