Active storage rails 6.1

My understanding with active storage (if I want to save images in the database) is I would have to subscribe to some sort of storage container? Is that right? And with rails 7.0 that’s not necessary?

I’ve got my project deployed to heroku , and the data is not persistent so I use urls and upload my images to cloudinary.

That’s necessary on all versions of Rails if you are on Heroku. Either an object storage or a self hosted option that is compatible with the S3 API