In Shrine 2.8.latest, I am trying to access the filename (after upload) in order to display it on screen in the form (to show that a file has already been uploaded). The storage is using versions, and the version is named :original.
Here’s what the raw JSON looks like in my
Is there a virtual attribute that I can use to access this, similar to how
file_url(:original) would work?
Alternatively, and proving difficult to google for for some reason, is there a recipe to extract the original filename and stash it in a separate column in ActiveRecord during the original upload process?