Here's part of my worker class. When starting this worker without any args the server complains that it is trying to evaluate nil.[] in line 6 despite the fact that a default is defined in the create method. This worked fine before 1.03

class LongJobWorker < BackgrounDRb::MetaWorker
  set_worker_name :long_job_worker
  set_no_auto_load(true)
  def create(args={})
    # this method is called, when worker is loaded for the first time
    @job = args[:job]
    register_status("started")
  end
 ........
end
_______________________________________________
Backgroundrb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/backgroundrb-devel

Reply via email to