Is there anyway I can render a view outside of a controller ?
I’m using BackgroundRB , and I’d like to use render_to_string in a
worker to render some html that will update a facebook profile. These
are perodic updates and so these must happen in a scheduled process
rather than in real time from a controller.
The only other option I can think of is just to create an action that my
worker calls with the appropriate values and ensure that the request is
only allowed locally. I’d prefer not to do this as it may tie up some of
my web server processes…