I belive that this might help you out:
http://api.rubyonrails.com/classes/ActionController/Streaming.html#M000072
On 8/26/06, Ben Johnson
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:>
>
> Let''s say I have a list of products. I want to put them into a
.txt file
> and then let the user download it. Is it possible to generate this and
> then render it for the user to download? By this I mean a box would come
> up asking the user where to save the file, not actually render the
> contents in the browser.
>
> Thanks for your help.
>
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---