search for: allrows

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

Did you mean: allows
2005 Dec 31
0
Question about periodically_call_remote
...etermined by the controller''s index action, and subsequent calls go through next_description: def index @description_index = 0 @description = get_current_description end # Called by ajax call; renders the partial directly after # determining next row to show def next_description @allrows = find_all @description_index = params[:oldindex] + 1 # if we''ve shown all, then start over again if (@description_index > @allrows.length) @description_index = 0 end @description = get_current_description render :partial => ''currentdescription'' end...