request is a attribute of Merb:Controller class and is setted in Merb:Controller.new
http://www.merbivore.com/documentation/1.0.8.1/doc/rdoc/merb-core/index.html?a=C00000514&name=Controller > > Is that correct? I had seen that, but I'm still puzzled about how the > 'Merb::Request.new(env)' object that is created here is subsequently > accessed as 'request' from within the controller (e.g. in the > 'session' method of Merb:SessionMixin). > > There is a 'request' variable in ::Merb::Dispatcher.handle but it's > local to that method. And I don't see any another 'request' method in > scope that provides access to the object. Maybe I'm running into the > limitations of my Ruby knowledge. I'm sure the answer is > straightforward, but I'm just not seeing it. > > Would appreciate any further guidance. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
