I’m not sure how to ask this succinctly, so bear with me. I’m trying to
learn how to use periodically_call_remote to update a div.

I have a table 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: