Hi Robert --<br><br>Can you elaborate a bit on what you are trying to do, exactly? What do you mean by &quot;ActiveRecord stuff&quot;? <br><br>Mason<br><br><div><span class="gmail_quote">On 2/4/07, <b class="gmail_sendername">
Robert Jones</b> &lt;<a href="mailto:jonesieboy@gmail.com">jonesieboy@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have a big report to produce from a Rails app that takes several minutes to put together.&nbsp; 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&#39;t pass an array of ActiveRecord objects from the worker back to Rails.&nbsp; Do I have that right?&nbsp; <br><br>Another possibility was to do the rendering in the worker and send back a text variable.&nbsp; I got erb rendering working thanks to the tips from Jacob Robbins, but none of the ActionView helpers like &quot;image_tag&quot; are recognised.&nbsp; Can anyone tell me how to make that happen?
<br><br>Any suggestions gratefully received.<br><span class="sg"><br>Robert Jones<br><a href="http://www.jonesieboy.co.uk/blog" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.jonesieboy.co.uk/blog
</a><br><br><br>
</span><br>_______________________________________________<br>Backgroundrb-devel mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Backgroundrb-devel@rubyforge.org">Backgroundrb-devel@rubyforge.org
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://rubyforge.org/mailman/listinfo/backgroundrb-devel" target="_blank">http://rubyforge.org/mailman/listinfo/backgroundrb-devel</a><br></blockquote>
</div><br>