Displaying 1 result from an estimated 1 matches for "testingwork".
Did you mean:
testingworker
2007 Jun 25
3
one more "uninitialized constant" problem
Hi everyone,
I''m new to backgroundrb, and I''m trying to get started with a simple example, yet with no success.
This is the code that I have in RAILS_ROOT/lib/workers/testing_worker.rb
class TestingWorker < BackgrounDRb::Worker::RailsBase
def do_work(args)
# This method is called in it''s own new thread when you
# call new worker. args is set to :args
logger.info(''TestingWorker do work'')
results[:do_work_time] = Time.now_to_s
results[:done_wit...