Active Storage Variants
Play
11:25 CC

Active Storage Variants

#376 Nov 20, 2022 pro
In this episode, we look at cleaning up our Active Storage variants and also look at several different use cases to manipulate the images with resizes, watermarks, format and quality.

Text to Image with Machine Learning
Play
26:09 CC

Text to Image with Machine Learning

#398 Apr 23, 2023 pro
In this episode, we take a new approach to the python service that our Rails background jobs will be calling. This is a more stable and thread safe approach and more simple to implement. We'll look at creating a Text to Image generation service that our Rails application will interact with.

Optical Character Recognition
Play
14:20 CC

Optical Character Recognition

#405 Jun 11, 2023 pro
Make your Active Storage uploads searchable with Optical Character Recognition (OCR). In this episode, we'll look at uploading documents with Active Storage and then using a gem to perform the optical character recognition on the uploaded files.

Zipping Files
Play
27:21 CC

Zipping Files

#385 Jan 22, 2023 pro
In this episode, we have a look at three different methods of zipping Active Storage files and sending the zipped file to the end user. Each approach has its own benefits and the best approach will depend on your use case.

Active Storage Validators
Play
14:25 CC

Active Storage Validators

#399 Apr 30, 2023 pro
Validation of files that are uploaded can provide a better user experience as it sets the expectations of what kinds of files, their sizes and if they're even required. In this episode, we'll look at creating different types of validators for Active Storage.