Hi all, I''m trying to use render_to_string in a controller in order to make an output 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? -cal
Apparently Analagous Threads
- render_to_string in a controller test?
- rendering a partial inside another using render_to_string and (:formats) in controller
- Re: Train wreck getting render_to_string to work from foreign controller [SOLVED]
- Missing Template Error on render_to_string - Rails 3.2.2
- Calling render_to_string from a view