search for: parser_svc

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

Did you mean: parse_sec
2011 Jul 26
0
connect to DRb server from rails controller ?
...quot;Server running at #{DRb.uri}" trap("INT") { DRb.stop_service } DRb.thread.join ---------------------------------- Client code in application controller: require ''drb'' class ApplicationController < ActionController::Base protect_from_forgery def parser_svc # svc = nil svc = DRbObject.new nil, ''druby://:9000'' svc end end main controller: def pcheck svc = parser_svc res = svc.check render :text => res end when called and server is running get this error: DRb::DRbConnError (druby://:9000 - #&l...