Is a ruby script to copy the ActiveStorage files in an s3 bucket into the local folder structure with which you can restore the DB and Storage in a local setup, you can also use this to if you are moving away from the AWS s3 service
do not need to change anything on the Database to link the resources
get a dump of your DB and restore it in your local machine get a copy of the content of the s3 bucket and when asked type in the path where it is contained