On Wed, 2008-03-05 at 14:12 +0000, Anthony Underwood wrote:
> 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


Many, thanks. If possible, Also file a bug report so that it doesn't get
lost in mailing list junk.


_______________________________________________
Backgroundrb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/backgroundrb-devel

Reply via email to