[Backgroundrb-devel] Tests failing when using 'reload_on_schedule true'

Dan Herrera dan at revelationglobal.com
Fri Jun 27 17:28:58 EDT 2008


Hi All,

When I add the line 'reload_on_schedule true' to my worker, my tests
will no longer run with the following exception:

Starting ferret DRb
server.../Users/revelation/projects/revelation-project/config/../lib/workers/alert_worker.rb:3:
undefined method `reload_on_schedule' for AlertWorker:Class
(NoMethodError)

class AlertWorker < BackgrounDRb::MetaWorker
  set_worker_name :alert_worker
  reload_on_schedule true

 ...
end

Anyone else seen this?

Thanks!

dan


More information about the Backgroundrb-devel mailing list