search for: batchmakerwork

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

Did you mean: batchmakerworker
2008 Mar 20
2
can''t call any methods on workers
...ript/backgroundrb:42:in `new'' script/backgroundrb:42 It doesn''t matter what''s in the method, it could be empty and it still doesn''t run (I am restarting backgroundrb after each modification - is this still necessary?). Here''s my test worker: class BatchMakerWorker < BackgrounDRb::MetaWorker set_worker_name :batch_maker_worker def create(args = nil) # this method is called, when worker is loaded for the first time end def process_batch end end The rails code I''m using to test the worker looks like this: job_key = Mi...