Episodes
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.

Bulk Upload with Active Storage
Play
7:00

Bulk Upload with Active Storage

#255 Aug 16, 2020 pro
When multiple files are uploaded with Active Storage, they are typically associated to a single record. In this episode, we take a different approach where each file uploaded should be its own record along with direct uploads.