Episodes
File Uploads and Cloud Storage
Play
15:48

File Uploads and Cloud Storage

#356 Jul 3, 2022 free
AWS S3 has been a reliable service over the years and for a long time it was the only option. However, in the past few years, there has been more cloud storage options that have popped up with compatible S3 APIs. These services can sometimes offer better pricing and speeds.

Securing Downloads with Global ID
Play
22:57

Securing Downloads with Global ID

#315 Sep 19, 2021 pro
With custom controllers and Global ID, we can lock down Active Storage files to provide a link which expires after a duration of time. At the beginning of the video, I tour the new Rails 7 template and configuration that will be used for episodes going forward.

Purge Orphaned Active Storage Records
Play
11:13

Purge Orphaned Active Storage Records

#281 Jan 31, 2021 pro
Over time, orphaned records can build up within Active Storage. In this episode, we look at a few approaches to clean up these orphaned records.

Direct Upload Instantly
Play
14:10

Direct Upload Instantly

#279 Jan 17, 2021 pro
Learn how to select files and trigger them to upload to Active Storage instantly.

StimulusJS, Active Storage and DropzoneJS
Play
14:01

StimulusJS, Active Storage and DropzoneJS

#263 Oct 11, 2020 pro
DropzoneJS is an open source library that provides drag’n’drop file uploads with image previews. It's lightweight, highly customizable and doesn't have any dependencies.