I'd like to kick off a thread that wakes up every so many seconds to do some processing within a Ruby-on-Rails web app. In .NET, the logical place would have been to create a thread in the global.asax file and start it in Application_Start
.
Is there a similar paradigm for doing such things in RoR? Would this be done in the ApplicationController
?
As an aside: am I entering the wrong search strings or are search engines really bad at finding information for building RoR apps?