Displaying 1 result from an estimated 1 matches for "hse_notices_retriev".
Did you mean:
hse_notices_retrieved
2006 Oct 12
6
BackgrounDRb newbie stuck at first base. Fresh pair of eyes needed
...ass 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(args)
end
def get_new_ids(args)
....
end
end|
However, I get NoMethodError (undefined method `ids_retrieved'' for
#<ScrapeWorker:0x2a678b8>)
Set up a quick unit test, and not surprisingly fails...