Forum: Ruby on Rails progress bar ideas (not file upload)

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Kevin T. (Guest)
on 2007-04-29 20:06
I am working on an import operation that takes 30-60 seconds.  It
includes parsing XML, committing objects to database tables, etc.
There's a lot of data in each XML file, which accounts for the time.
I'd like to display a progress bar somehow, and be able to use some
mechanism to advance it as the import operations moves forward.  The
import code is in the controller.  I think I could add the progress bar
to the import form (use an ajax request to submit the form), but I'm not
sure how the controller could callback into the progress bar.

Any thoughts?
This topic is locked and can not be replied to.