> MY problem is: the final result will be a generated file on the > filesystem, and i couldn't figure how to throw send_file in the mix. i > looked at prawnto, rjs, builder and fleximage plugins. but all do not > generate results on the filesystem (aka do not use send_file).
Josh is the guy who knows the most about the current api. He'll be able to give you an official answer. However my hunch is that you'll have to manually set the relevant headers for X-Sendfile and render an empty string. If you're not using X-Sendfile maybe you'll need to duplicate the behaviour that we have in streaming.rb. Given that revisiting the template API is one of yehuda's goals for 3.0, it could also be a good time to start thinking about additions to the API to support this kind of thing. -- Cheers Koz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
