On Mon, Sep 21, 2009 at 2:26 PM, sax <s...@livinginthepast.org> wrote:
>
> yeah, my main point was that the method would be run for every
> request.

Just like your before_filter for user authentication.

> Probably not that many milliseconds in the grand scheme of
> things, but why add any extra processing to your requests when you can
> externalize it?

Putting it in cron doesn't guarantee it will always find something to
delete.  It just means you now have to maintain a cron entry external
to your actual app.


-- 
Greg Donald
http://destiney.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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to