John Merlino wrote: > Colin Law wrote: >> 2010/1/22 John Merlino <li...@ruby-forum.com>: >>> >>> >>> terminal and nothing happens. >> Have you put the line >> debugger >> at the appropriate point to break in your app? That is what it means >> by your app calling the debugger method. >> >> You should then see the break happen in the same window where you >> started the server (when it gets to the debugger line that is). >> >> Colin > > I get this error message: > > NoMethodError in RolesController#new > > undefined method `run_init_script' for Debugger:Module
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> -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.