I have a big report to produce from a Rails app that takes several minutes to put together. I hoped backgroundrb would be able to pull together all the ActiveRecord stuff in the background then throw it back to Rails for rendering.
<br><br>It seems, however, that I can't pass an array of ActiveRecord objects from the worker back to Rails. Do I have that right? <br><br>Another possibility was to do the rendering in the worker and send back a text variable. I got erb rendering working thanks to the tips from Jacob Robbins, but none of the ActionView helpers like "image_tag" are recognised. Can anyone tell me how to make that happen?
<br><br>Any suggestions gratefully received.<br><br>Robert Jones<br><a href="http://www.jonesieboy.co.uk/blog">http://www.jonesieboy.co.uk/blog</a><br><br><br>