josevalim/rails-footnotes — pull request #68 by labocho (2012-01-08 01:37:31+00:00)
Title: ActionController::Streaming#send_file responses zero byte file.

When Rails.configuration.action_dispatch.x_sendfile_header is blank, ActionController::Streaming#send_file responses zero byte file.

This issue is caused by changing file position by calling "controller.response.body" in Footnotes::Filter#initialize.