I didn’t check the Drifting Ruby video which requires a pro account, but I guess that the files are attached with has_many_attached
and thus all the files will get mixed in the storage with the HLS files of other records. It’s a bit annoying as each video might have hundreds of files or more. Active Storage has a way to add a custom key (e.g. add a directory prefix) when calling .attach(...)
, but how to do so when using an upload form (same question as here)?