Rendering an RJS template within another RJS template

Is there a way to render an RJS template within another?

I’ve put my simplified code below. No errors are generated, but the
partial isn’t rendered. I also tried using render :action =>
‘update_actions’

destroy.rjs—
page.visual_effect :fade, comment_container(@object.id.to_s)

update the number of comments(below is another rjs template)

render :partial => ‘update_counts’

Derek H.
HighGroove Studios - http://www.highgroove.com
Atlanta, GA | San Mateo, CA
Keeping it Simple.
404.593.4879

I think you’ll need to do it this way:

page << render :partial => ‘update_counts’

This will render the partial, take the output from that and add it to
the
current template output.