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?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs