Displaying 2 results from an estimated 2 matches for "register_worker_class".
2007 Feb 07
2
ncluding backgroundrb issue
...il object when you didn''t expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.include?
RAILS_ROOT: ......
Application Trace | Framework Trace | Full Trace
#{RAILS_ROOT}*/vendor/plugins/backgroundrb/server/lib/backgroundrb/*
middleman.rb:158:in `register_worker_class''
#{RAILS_ROOT}*/vendor/plugins/backgroundrb/server/lib/backgroundrb/*
worker.rb:17:in `register''
#{RAILS_ROOT}/lib/fileB.rb:72
#{RAILS_ROOT}/app/controllers/fileA.rb:8
After reloading the page, this error did not rise again , I need help
with any idea concerning this behavior of...
2006 Dec 06
0
Testing your workers
...worker_rails"
require File.dirname(__FILE__) + ''/../../lib/workers/add_analyst_worker''
require ''drb''
----------------
Now the error I get is:
---------------------
./test/unit/../../vendor/plugins/backgroundrb/server/lib/backgroundrb/middleman.rb:158:in
`register_worker_class'': You have a nil object when you didn''t expect
it! (NoMethodError)
You might have expected an instance of Array.
The error occured while evaluating nil.include? from
./test/unit/../../vendor/plugins/backgroundrb/server/lib/backgroundrb/worker.rb:17:in
`register''
f...