search for: rem_obj

Displaying 1 result from an estimated 1 matches for "rem_obj".

Did you mean: gem_obj
2007 Aug 09
2
RoR and DRb
Hi, I have a question regarding RoR and DRb. First of all, I tested with simple client/server examples and everything worked as expected. I have the following lines in my environment.rb: DRb.start_service $rem_obj = DRbObject.new(nil, "druby://#{rname}:9001") Since rem_obj is a global variable, I can call it from any controller and the invoked procedure is run on the server. However, what if you want the client to be registered as an observer. How is that gonna work in rails? I imagine that an ob...