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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Af1ee2208795752559b049502ded660c?d=identicon&s=25 Andrew Cowan (k2mia)
on 2006-05-01 22: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?

Thanks,
Andy
89d967359903c639d31e4cad4569f537?d=identicon&s=25 Charlie Bowman (Guest)
on 2006-05-03 18: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.