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.

Intervals and Timeouts
Play
11:40 CC

Intervals and Timeouts

#412 Jul 30, 2023 pro
In this episode, we create two different stimulus controllers for handling refresh intervals and timeouts. Using Turbo, with these stimulus controllers, we are able to create a simple solution refreshes on an interval or timeout.

Time Zones
Play
13:39 CC

Time Zones

#419 Sep 10, 2023 pro
Working with time zones can be difficult and lead to the inaccurate display of data. In this episode, we explore how to display dates & times and query records based on a user's time zone.

readonly?
Play
9:43 CC

readonly?

#426 Oct 29, 2023 pro
In this episode, we look at making records read-only and also creating an override functionality where we can force the record to save. We'll also look at error handling when a record update is made to a read-only record.

Working with YAML
Play
10:07 CC

Working with YAML

#429 Nov 19, 2023 pro
In this episode, we look at a few different ways that we can interact with YAML files in our Ruby on Rails application; using them for loading configurations and also seeding data.