Displaying 1 result from an estimated 1 matches for "get_passwds_worker".
2007 Sep 24
3
Trouble using backgroundrb
...ss Passwd::IndexController < ApplicationController
layout ''default''
def index
$subtitle = "AIX user inventory tool"
end
def createReport
Passwdentry.delete_all
User.delete_all
session[:job_key] = MiddleMan.new_worker(:class => "passwd:get_passwds_worker", :args => "")
end
def get_progress
if request.xhr?
progress_percent = MiddleMan.get_worker(session[:job_key]).progress
render :update do |page|
page.call(''progressPercent'', ''progressbar'', progress_percent)
p...