Advanced Rails Recipes

Advanced Rails Recipes

After generating the initial worker:
@class BillingWorker < BackgrounDRb::MetaWorker@
I couldn’t get the background server to start up without adding
@unless args.nil?@
after the args loop’s end. Anyone?

Dary

UPDATE! Later on they add:
@set_no_auto_load true@
Which clears up this error, but the initial time the server doesn’t start up because it’s trying to evaluate
@nil.each@
I think this is a candidate for the errata page…