Thanks to the videos here, I've implemented file upload with Shrine in my app. They are audio files, stored on s3, and made available to the public.
I'd like to track the downloads and provide my users with some basic statistics. I don't see any out of the box solutions/gems that can get me close.
Is one of these methods better than the other? Is there a better option?
/whatever/1/downloadand then record the download and then redirect the user to the actual download url. Works pretty well.
I'd probably go with one of the latter options for simplicity.
Join 27,623+ developers who get early access to new screencasts, articles, guides, updates, and more.