search for: scrapeworker

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

2006 Oct 12
6
BackgrounDRb newbie stuck at first base. Fresh pair of eyes needed
...e scraping task which is currently being done in a Rails controller. That''s not the problem at the moment, as I can''t even get past first base. For some reason, it doesn''t seem to be setting up my worker class properly. Here''s my worker class def: |class ScrapeWorker < BackgrounDRb::Rails attr_accessor :progress, :message, :ids_retrieved def do_work(args) @progress = 0 @message = args[:message] || "" @job_completed = false @hse_notices_retrieved = 0 puts args[:message] get_new_ids(ar...