[Backgroundrb-devel] rendering from within a worker
davidjy.lee at gmail.com
Tue Nov 21 15:29:18 EST 2006
Why don't you put the file into results and then pick it up from a
controller? Like in the backgroundrb example, you could poll a controller
action to see if the worker has finished its job and if so, render the rxml
from the controller.
On 11/20/06, Eduardo Dominguez <eduardodmz at gmail.com> wrote:
> I'm using backgroundrb for its scheduled jobs.
> Now, a job that runs on a daily basis creates an xml file that I
> currently create with an .rxml template.
> Can I run a controller action from within a worker ? Can I render() a
> template from within a worker ?
> Sorry, I haven't grasped the whole rails/backgroundrb relationship so
> I don't know what I can and not do.
> Thanks for any help.
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Backgroundrb-devel