Hi All,
I have a method in my controller like this:
def startdownload
        flash[''notice''] =  "finding patients ..."
        sleep 1
         downloads = @session[''dwnldids'']         
          @patientarr = Array.new()
          if downloads         
                  downloads.each{|patid|
                  @patientarr.push( Patient.find(patid.to_s))
                  }         
          end
          @session[''dwnldids''] = nil
          flash[''notice''] =  "Starting to move
folders..."
          #send_file
    end
I wanted to see the status messages in the view, like this
1.finding patients ...
2.Starting to move folders...
How should i do it?
Regards
Gnan