[Backgroundrb-devel] render rhtml templates in worker

Jacob Robbins jrobbins at cmj.com
Thu Jan 25 10:56:14 EST 2007


I'm trying to make a worker that will render a large page to a file, 
very similar to what rails' builtin cacheing does except with the 
rendering done outside of rails.

The only advice I've found is to use 
ActionController::Integration::Session.new but this doesn't seem to 
allow setting session variables the way the functional tests do. Is 
there a way to call a controller's methods or render an rhtml template 
from a background worker?

-Jacob


More information about the Backgroundrb-devel mailing list