streaming XML in rails 3.1 with ruby 1.9.2

Hi.

I’m trying to get streaming to work on a rails 3.1 app with ruby 1.9.2. The action sends a big XML file.

The file looks like:

<% @files do |f| -%>

<%= render_file_source_xml(f).html_safe -%>

<% end %>

I would like the render_file_source_xml call to be streamed as it’s processed. Is it possible with rails3.1?

-m.