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.

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.

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.