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
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
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
Marnen Laibow-Koser wrote:
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
John Merlino wrote:
[...]
I'm confused when I do this:
(rdb:5) p read_authorized?(resource)
true
It returns a value of true. But it's undefined?
No. Based on what you've said, resource is undefined, but
read_authorized? Is written in such a way that if it is passed an
undefined
5 matches
Mail list logo