Displaying 1 result from an estimated 1 matches for "ping_work".
Did you mean:
  int_work
  
2006 Aug 16
7
Forward of moderated message
...roring out with:
>
> NoMethodError (You have a nil object when you didn''t expect it!
> The error occured while evaluating nil.progress):
>     /app/controllers/operations_controller.rb:14:in `task_progress''
>
> Here''s the code --
>
> [ /lib/workers/ping_worker.rb ]
>
> class PingWorker < BackgrounDRb::Rails
>
>   attr_accessor :progress
>
>   def do_work(args)
>     @progress = 0
>     calculate_the_meaning_of_life(args)
>     kill
>   end
>
>   def calculate_the_meaning_of_life(args)
>     while @progress <...