ActiveSupport::Notifications
Play
13:47 CC

ActiveSupport::Notifications

#409 Jul 9, 2023 pro
In this episode, we'll dive into ActiveSupport::Notifications to perform simple metrics. We'll then use this technique to troubleshoot and pinpoint where slow running lines of code are. It can be a great debugging technique when trying to deal with slow requests or functions.

Broadcasting Progress from Background Jobs
Play
22:23 CC

Broadcasting Progress from Background Jobs

#408 Jul 2, 2023 free
In a previous episode, we had created a custom ActionCable channel to assist in broadcasting updates from a background job. With the introduction of Turbo, we can simplify this process as we look at a few different approaches in displaying a progress bar with real time updates from background jobs.

Email Tracking
Play
15:11 CC

Email Tracking

#407 Jun 25, 2023 pro
In this episode, we take a user privacy focused approach to tracking emails for unique opens and view counts. We'll look at how we can track these emails without invading the user's privacy and get meaningful metrics.

Rate Limiting from Scratch
Play
22:00 CC

Rate Limiting from Scratch

#406 Jun 18, 2023 pro
Ever wonder how some companies implement rate limiting based on the plan that you've signed up for? In this episode, we'll use Docker Hub as a case study and implement this feature within our Rails application. We'll do this by creating a custom Rack Middleware to track and throttle the requests.

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.