Processing Large Jobs
Play
20:55 CC

Processing Large Jobs

#468 Aug 4, 2024 free
In this episode, we will upload a CSV file but need to pass it into a background job. This can prove to be difficult based on the hosting infrastructure so we'll explore some mechanisms to work around them. We'll also look to optimize Solid Queue to handle the large number of jobs.

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.

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.

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.

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.