Thursday, November 18, 2010

[Rails] Re: params - is it a method?

Fritz Trapper wrote in post #962388:
> Is params a ruby method?

It couldn't be anything else, could it?

>
> Stepping into line 15
>
> 14 debugger
> => 15 if params['localData']
>
> in the debugger results in this message:
>
> [-4, 5] in (eval)
> *** No sourcefile available for (eval)
> (eval):1
>
> Why?

Perhaps the code is dynamically generated somehow.

Why do you want to debug params anyway? It's just a
HashWithIndifferentAccess.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen@marnen.org

--
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-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate