Zachary Holt successfully answered Don Miguel de los Platanos's question:

Is there a rails equivalence to out.flush() in java? I have an activerecord resultset that is quite large. However I don't want to wait till the query is done to display all of the results. I would like to display the results as they come in. I need someway to flush the outputstream so that it constantly writes the results to the browser. Is this possible?

People succeed in answering Don Miguel de los Platanos's questions 42% of the time (8 successes in 19 attempts).

Answers by: Zachary Holt | Adam Thorsen

Zachary Holt's Answer:

Reply by Zachary Holt 869 days ago

If the concern is timing out, the easiest thing would be to use BackgrounDRb. It will let you poll for status.

If you want to actually send the data as it comes, I'm not sure I can help.

Reply by Don Miguel de los Platanos 866 days ago

I have fooled a bit with backgroundrb but it doesn't provide exactly what I'm looking for. I need something that would provide the flush mechanism as opposed to use the periodic checking. Atleast now I know the answer is no. Thanks.