bring streaming inline with Rails 4