GeistHaus
log in · sign up

Active Storage Overview — Ruby on Rails Guides

guides.rubyonrails.org

This guide covers how to attach files to your Active Record models.After reading this guide, you will know: How to attach one or many files to a record. How to delete an attached file. How to link to an attached file. How to use variants to transform images. How to generate an image representation of a non-image file, such as a PDF or a video. How to send file uploads directly from browsers to a storage service, bypassing your application servers. How to clean up files stored during testing. How to implement support for additional storage services.

13 pages link to this URL
Deploy Public Bucket Image Proxy

Deploy Public Bucket Image Proxy to the cloud for free with Railway, the all-in-one intelligent cloud provider. Public proxy for images in a bucket, with image optimization using imgproxy

1 inbound link website en Public Bucket Image Proxydeploy Public Bucket Image Proxydeploy Public Bucket Image Proxy on Railwaydeploy Public Bucket Image Proxy on Railway infrastructuredeploy Public Bucket Image Proxy app on Railwayhost Public Bucket Image Proxyhost Public Bucket Image Proxy on Railwayhost Public Bucket Image Proxy on Railway infrastructurehost Public Bucket Image Proxy app on RailwayStorageRailwaydeploymentcloudtemplateweb applicationminimaldeploy on RailwayRailway templateRailway infrastructurehost on Railway
Renuo TIL

Today I Learned (TIL) posts from Renuo team members. A collection of insights, tips, and lessons learned from our daily work.

0 inbound links website en
Deprecating Paperclip

We are deprecating Paperclip in favor of ActiveStorage. Learn what this means for you.

5 inbound links article en NewsPaperclipRuby
Weeknotes 58

Dealing with bad news, very specific tools for the job and migrating from Paperclip to Active Storage.

0 inbound links article en
Weeknotes 59 and 60

Decamping to the north, two significant DIY projects and things learnt while continuing the migration to Active Storage.

0 inbound links article en
Weeknotes 79

Watermarking PDFs, alarming conditionals and other Computation Clubs.

0 inbound links article en
Set Up Rails Activestorage With Azure Securely

Ruby on Rails has built-in support for managing uploaded files with ActiveStorage, which both cleans up your application code and acts as an abstraction over different storage backends. Azure Storage is one of the supported backends, but configuring it securely can take a little figuring out. The most sensible way I’ve found to have it configured is with files stored having no public access, but allowing temporary access via signed URLs for both uploads & downloads.

0 inbound links article en post CC BY-SA 4.0