[Backgroundrb-devel] accessing args in worker

Bill Walton bill.walton at charter.net
Tue Oct 17 14:15:21 EDT 2006

If, in the controller, I start a worker and pass in an argument like this:

session[:job_key] = MiddleMan.new_worker(:class => :foo_worker,
                                             :args => {:emrec_id => @emrec.id})

How do I access the value in the worker?  I can't seem to figure it out ;-p


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20061017/48549ab5/attachment.html 

More information about the Backgroundrb-devel mailing list