Forum: Ruby on Rails Q: periodically_call_remote ( how to make it execute just on

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Af1ee2208795752559b049502ded660c?d=identicon&s=25 Andrew Cowan (k2mia)
on 2006-04-03 23:05
(Received via mailing list)
I posted this ealier on the web forums but noticed a similar question
about this function and one user responded to try this list instead. If
anyone can help I would greatly appreciate your suggestions.


Is there a way to use periodically_call_remote to run just one time
instead of every ':frequency' seconds?

I tried putting the call inside the div container thinking it would be
overwritten when the first remote call replaced the div contents but no
such luck.

I'd basically like to simulate link_to_remote but not require a click
and have it performed automatically like periodically_call_remote.

Any help/suggestions would be appreciated.

D707194949c58eb4076f040adf116508?d=identicon&s=25 Bruno Celeste (Guest)
on 2006-04-03 23:15
(Received via mailing list)
Look at the `delay` RJS method, maybe this can help you:
This topic is locked and can not be replied to.