> But I figured
> using ActionController I can send a simple HTTP get request and get
> information back in response, but oh well :)

yea send_data doesn't quite work the way you think it would.. i.e. it
doesn't return a byte stream from the method call - instead its turns
off on the headers and does a simple render [I'm no expert tho] which
of course has a similar effect. I'd say you'd need to buffer the
output somewhere [either in memory on the drive depending on the size]
and then redirect it as the attachment input.. ?

--~--~---------~--~----~------------~-------~--~----~
SD Ruby mailing list
sdruby@googlegroups.com
http://groups.google.com/group/sdruby
-~----------~----~----~----~------~----~------~--~---

Reply via email to