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.

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.

Creating Command Line Applications
Play
23:48 CC

Creating Command Line Applications

#309 Aug 15, 2021 pro
As developers, chances are we are in the terminal often. Command Line Interfaces (CLI), are very helpful in streamlining our work. Ruby is a very powerful language and can make some powerful CLIs. Thor is a powerful option, but in this episode, we look at some alternatives from basic to more advanced scenarios.

Tokenized Search
Play
34:14 CC

Tokenized Search

#401 May 14, 2023 pro
Creating an interactive search can be a daunting task. In this episode, we look at creating a "tokenized search" feature within our Rails application which is similar to what you'd find within New Relic or Kibana.

Bulk Updates
Play
18:58 CC

Bulk Updates

#447 Mar 17, 2024 pro
Updating multiple records in the UI of a Rails app could be tricky. In this episode, we'll look at updating multiple records at the same time from scratch. We'll create a Stimulus controller to handle some of the front end functionality.