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