Rails Direct Uploads to Cloudinary Made Easy With Shrine

If you have been using Heroku often, you’ll notice that it is not suitable for persisting image storage and should not be used for any permanent storage. In this article, we simplify how you can perform direct uploads to Cloudinary in your Rails application, in order to persist your image uploads.

File uploads are an important aspect of many Rails applications. In this article, we will look at how we can perform direct uploads to a Cloudinary storage account. If you’ve been using Heroku, by now you should know that its filesystem is ephemeral. That means that any changes to the filesystem whilst the dyno is running only last until that dyno is shut down or restarted. It’s why we lose most of the image references after a while. But, thanks to Cloudinary – and other cloud-based image storage services like AWS – there is a solution.

For full article, read at Microverse

Leave a reply:

Your email address will not be published.

Site Footer