This example application is configured to store uploaded ActiveStorage files into subfolders based on a deployment environment variable, such as $HEROKU_APP_NAME
.
I've deployed two demonstration apps that show the internal key to demonstrate that the images are stored in different subfolders:
The configuration files for blobs in subfolders are: