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.

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.

Kamal in GitHub Actions
Play
31:01 CC

Kamal in GitHub Actions

#425 Oct 22, 2023 pro
Kamal is a great utility for deploying your application to a server. It can handle many different kinds of use cases. However, there is some disconnect on how to use it within a CI/CD pipeline. In this episode, we'll look at deploying a Rails 7.1 application with SQLite to a virtual machine using Kamal within GitHub Actions.

Solid Cache
Play
10:31 CC

Solid Cache

#424 Oct 15, 2023 pro
Solid Cache is a database-backed Active Support cache store implementation. Using SQL databases backed by SSDs we can have caches that are much larger and cheaper than traditional memory only Redis or Memcached backed caches. In this episode, we'll explore adding Solid Cache into our application and some things to be aware of.

Unsaved Changes
Play
11:47 CC

Unsaved Changes

#423 Oct 8, 2023 pro
In this episode, we'll look at creating a stimulus controller that will alert the user if there are unsaved changes on a form before they navigate away from the page or reload the site.