[Rails] trying to loop a render update page

2011-03-10 Thread Erwin
I trying to update multi times a page from inside a loop, obviously the loop cannot be outside the update block as a test I wrote : def reloading @tables = [table_lockers, table_instructors, table_members, table_analyses] render :update do |page| @tables.each do |table|

Re: [Rails] trying to loop a render update page

2011-03-10 Thread Walter Lee Davis
On Mar 10, 2011, at 8:18 AM, Erwin wrote: I trying to update multi times a page from inside a loop, obviously the loop cannot be outside the update block as a test I wrote : def reloading @tables = [table_lockers, table_instructors, table_members, table_analyses] render :update do