search for: currentdescript

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

2005 Dec 31
0
Question about periodically_call_remote
...able whose rows have the data I want to display in the div, one at a time, every 10 seconds (let''s say). For simplicity let''s pretend each row just has one column, "description," which is just a text column. 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...