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 > that?
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. Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- 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 -~----------~----~----~----~------~----~------~--~---

