Forum: Ruby on Rails Is there a way to do unbuffered render :update ?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Andrew C. (Guest)
on 2006-05-02 00:18
Greetings all,

I have an action which does some stuff and then does a render :update to
replace a container with a partial, the delay due to processing is more
than I'd like for expecting a user to wait without hitting the button
again and again. Is there a way to force the render's display when the
satement is executed rather than at the end of the action?

Charlie B. (Guest)
on 2006-05-03 20:58
(Received via mailing list)
I might be wrong ( I can't check right now ), but I think you can just
move the render to the top of your action.  Even after a render, the
rest of the action will continue to run.
This topic is locked and can not be replied to.