[Backgroundrb-devel] RMagick progress monitor with backgroundrb - possible?
wil at 3cglabs.com
Wed Jul 18 17:06:55 EDT 2007
If monitor() does what I think it does, then it's probably possible.
You can store the progress in the worker status, and then call an action
like "check_status" that asks for the worker's status. If you were using
rails, you would then return an RJS template (or render a partial) to update
the page without reloading. To call this action, you can use
On 7/18/07, Ben Haynor <ben.haynor at gmail.com> wrote:
> I'm looking for a way to give the user a progress monitor on large
> image manipulations with RMagick. I first looked at this method -
> http://www.imagemagick.org/RMagick/doc/imageattrs.html#monitor - to do
> it in a controller action, but since I can't call multiple renders in
> an action, I would need to store the progress in the database and call
> overkill(although maybe there is a better way I haven't thought of?).
> So, I was wondering if it is possible to do it in a more
> straightforward way with backgroundrb?
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Backgroundrb-devel