> Otherwise, you could simply check the "updated_at" timestamp for the > active record in the controller and run some code every 5 minutes > (current_time - updated_at > 5 minutes). Of course the drawback here is > that it is completely contingent upon the user making requests to the > server.
Hey Aldo, i ll try it with your controller solution, sounds great! So my last problem is how can i display the user the countdown? As i wrote i do it with some javascript countdown, but everytime the user navigate on my site the countdown is reset. Thanks a lot! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

