Forum: Ruby on Rails render_to_string and DoubleRender error

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
cal (Guest)
on 2006-04-07 05:03
(Received via mailing list)
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
This topic is locked and can not be replied to.