search for: whateverpartial

Displaying 1 result from an estimated 1 matches for "whateverpartial".

Did you mean: whateverpartial2
2009 Mar 05
3
How to render :partials *before* the :action has finished ?
...g out 2 emails (which takes too much time to wait for) The thing is: it''s impossible to do it like below (since "render" always seems to be executed at the end of an :action): render :update do |page| page.replace_html ''whateverDiv'', :partial => ''whateverPartial'' page.replace_html ''whateverDiv2'', :partial => ''whateverPartial2'' end What''s the easiest/best solution in Rails to solve this problem? Thanks a lot for your help! Tom -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~---...