Drifting Ruby Screencasts
Idempotency

Idempotency

Drifting Ruby Screencasts

16:25

About this episode

In this episode, we look at several different examples of background jobs and how we can refactor them to handle situations where they get called twice from either a user action or a retry. We'll look at scenarios where we can prevent duplicate actions.

More from Drifting Ruby Screencasts

Short URLs

In this episode, we look at a cool little project that you can create and build upon. We take in a full length URL and can squish it down into a shortened link.

11m

Native Dialog

In this episode, we have a look at using native dialogs and popovers in our Rails application. No external libraries necessary!

8m

Function Calling

In this episode, we look at adding function calling or tool use to our Rails application when making generative text LLM requests.

12m

Claude Skills

In this episode, we look at creating Claude slash commands. These can be useful when dealing with a complicated task or trying to extract certain information from the application.

10m

Websockets are great, but they are not always the right approach. In this episode, we will look at implementing a long polling for new records.

13m