Ralph Shnelvar wrote:> I am using validates_captcha ... which for reasons I do not understand
> hooks into middleware.
>
> validates_captcha is getting a bit upset (it dumps the stack and then
> rescues itself) when it sees
> env[''PATH_INFO'']
> equal to
> /undefined
>
> Thus _something_ is setting env[''PATH_INFO''] to undefined
... and I
> would sure like to know what it is.
>
> How can I set things up to see what line of code is doing that?
Have you searched the code to see if there''s an obvious reference to
that variable?
Have you tried stepping through with the debugger?
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
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.