search for: description_index

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

2005 Dec 31
0
Question about periodically_call_remote
...I have a partial, let''s say it''s called _currentdescription.rhtml, that just shows the description in a p tag. The table row to show in the view is initially determined 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 (@descriptio...