Rails List wrote:
i am offering my site visitors a download of zip file. when someone
downloads it, i want to increment a counter and update db. how do i do
I should think it would be obvious -- just put an increment routine in
the action that generates the zip file. Or if it's a static file, use
your Web server's access logs.