Displaying 1 result from an estimated 1 matches for "handlder".
Did you mean:
chandler
2008 May 30
0
Mongrel handler and root_handler
Hi
I am writing my own handler and seeing some strance behavior. Best is
describing by the following code
say I create mongrel server (see at the end of the email) and have one
handler for the root (so shoudl handle all request..)
To my surprise the @a in the following code in the Handlder is not the
object I expect but a hash containing the name {:a => <SomeObject
Instance> }
Looking right before the register is called, @a is correct... but
looking inside the handler... suddenly it is all different...... I
cannot find any doc or why in the code it is behaving that...