<disclaimer>I'm new to rails and ruby</disclaimer>
Sorry for the x-post.

I am using "activescaffold" and have a model that takes some time to
complete, I would like to have it update the page multiple times while
'foo' runs.

basically i have the following

def foo
render :text => "starting"
.....
end

It displays the text properly, but not untill 'foo' has completed.

What I would like to do is something like the following.

def foo
render :text => "starting"
...
render :text => "#{iteration} / #{total_iterations}"
...
render :text => "complete"
end