search for: railsworkerproxy

Displaying 2 results from an estimated 2 matches for "railsworkerproxy".

Did you mean: rails_worker_proxy
2008 Apr 10
1
Communicating Worker-to-Worker
Hi everyone, I have two workers, a connection_worker and an interface_worker, that I want to be able to call methods on each other. Initially I thought I could do this: connection_worker def alive? return true end end interface_worker def test_connection if MiddleMan.worker(:connection_worker).alive?(true) return true end end end Obviously this is a somewhat contrived
2008 Jun 06
1
Unexpected NameError when invoking task on worker
...ipt/backgroundrb start [d96440a6 at d96440a6 ~/testapp]$ ruby script/console Loading development environment (Rails 2.0.2) >> MiddleMan => #<BackgrounDRb::WorkerProxy:0x8675b6c @mutex=#<Mutex:0x8675b44>> >> worker = MiddleMan.worker(:basic_worker) => #<BackgrounDRb::RailsWorkerProxy:0x995f78c @job_key=nil, @middle_man=#<BackgrounDRb::WorkerProxy:0x8675b6c @mutex=#<Mutex:0x8675b44>>, @worker_name=:basic_worker> >> worker.keep_count => nil >> /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:266:in `load_missin...