Render_to_string and DoubleRender error


Hi all,

I’m trying to use render_to_string in a controller in order to make an
file for download, and then redirect to a “Thank you for downloading”
page. Of
cource, this is not possible since one cannot have a “render” and
“redirect” in
the same action. Anyone know how I can do this?