Is there a way to do unbuffered render :update?


#1

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?

Thanks,
Andy


#2

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.