title: Creating timer in my Rails App
body: <p>I am having a rails app that basically changes replaces images at pre-decided time. Now i want to create a ruby timer that triggers an event every second and when any image time is reached, it throws the event and the image changes in the view. I was thinking of using observer pattern for this. Can anyone please advise me on how to go about doing this?</p>
  
  <p>Any help is appreciated.</p>