RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: camwest
We have a CSV download that we generate while streaming it to the client. We can generate it at about 1megabyte/second so it makes sense to start sending it to the client as soon as possible. We are using a custom library to enable this today but I'm happy to see it available in Rails 3.1.
Does anyone know if it's possible to programmatically call the streaming yield?