search for: sessionwork

Displaying 2 results from an estimated 2 matches for "sessionwork".

Did you mean: sessionworker
2009 Jan 06
1
ask_status/register_status deprecated???
...for a while and just recently found the need to use the ask_status/register_status functionality of my worker. This is the error I get whenever the register_status method is encountered: ...lib/workers/session_worker.rb:10:in `create'': undefined method `register_status'' for #<SessionWorker:0xb6e7d52c> (NoMethodError) from /home/rut216/dev/illinicourses/vendor/plugins/backgroundrb/server/lib/meta_worker.rb:129:in `worker_init'' from /var/lib/gems/1.8/gems/packet-0.1.14/bin/../lib/packet/packet_worker.rb:19:in `start_worker'' from /var/lib/g...
2007 Feb 20
1
error message for record not found ?
...ntRails-1.3/ruby/lib/ruby/1.8/drb/drb.rb:1424:in `run'' C:/InstantRails-1.3/ruby/lib/ruby/1.8/drb/drb.rb:1344:in `initialize'' C:/InstantRails-1.3/ruby/lib/ruby/1.8/drb/drb.rb:1624:in `start_service'' script/backgroundrb/start:108 ------------ Worker code ---------- class SessionWorker < BackgrounDRb::Rails attr_reader :time_remaining def do_work(args) @time_remaining = args[:initial_setting].to_i @emrec_id = args[:emrec_id] @session_id = args[:session_id] @session_rec = Session.find(:first, :conditions => ["sess...