David Kimura PRO said about 2 years ago on Cropping Active Storage Uploads :
I did make an update to the show notes on how I got this working for a Rails 7.0.1 application with the token and attachment name.