Embedding Stripe Checkout
Play
19:11 CC

Embedding Stripe Checkout

#422 Oct 1, 2023 free
Stripe Checkout is one of my favorite ways to handle payments in Ruby on Rails applications. Stripe Checkouts will soon have an option to embed the Checkout into your web application. In this episode, we'll look at implementing this feature with a StimulusJS controller.

Detect Spam with AI
Play
29:22 CC

Detect Spam with AI

#427 Nov 5, 2023 free
We can create a small python service that uses a Large Language Model (LLM) to detect if a message is spam or not. Using this service, we can tie it into our Rails application so that any comment created will be evaluated for being spam or not. We explore a few different routes on handling any messages flagged as spam.

Infrastructure Migration
Play
14:09 CC

Infrastructure Migration

#374 Nov 6, 2022 free
For various reasons, we may decide to move our services off of one platform onto another. This could be due to pricing, uptime or other reasons. In this episode, we look at migrating a Ruby on Rails application and database from Heroku to Fly.

Transcribing with Artificial Intelligence
Play
36:25 CC

Transcribing with Artificial Intelligence

#395 Apr 2, 2023 free
In this episode, we look at creating an audio transcription service which allows files uploaded from Active Storage to be transcribed with Artificial Intelligence. However, there are a lot of considerations around the approach from both a performance and thread safety perspectives.

Session Hijacking
Play
9:27 CC

Session Hijacking

#400 May 7, 2023 free
In this episode, we explore session hijacking and an approach that we can take to limit the risk. There are some user experience and functionality caveats to this approach so they must be taken into consideration as well.