Deploying with MRSK
Play
37:42 CC

Deploying with MRSK

#391 Mar 5, 2023 free
Kamal (MRSK) deploys web apps anywhere from bare metal to cloud VMs using Docker with zero downtime. In this episode, we will set up a Digital Ocean infrastructure with a Load Balancer, Virtual Machines, and a PostgreSQL database. We'll use Kamal (MRSK) to provision and deploy our Rails application to the Virtual Machines.

OpenAI API Integration
Play
26:33 CC

OpenAI API Integration

#390 Feb 26, 2023 pro
In this episode, we have a look at using the OpenAI API to create an AI Response to comments. Instead of simply using the API directly with Net::HTTP, we're also going to create an API wrapper around Net::HTTP so that we can simplify the responsibility of our OpenAI integration.

Strict Locals
Play
9:10 CC

Strict Locals

#388 Feb 12, 2023 pro
Ruby on Rails 7.1 introduces Required Template Arguments w/ Default Values, or Strict Locals. This solves the issue of difficult to reason about dependencies & runtime compilations. In this episode, we look at how Strict Locals can improve the overall maintainability of our Rails partials.

Demystifying the Asset Pipeline
Play
19:47 CC

Demystifying the Asset Pipeline

#387 Feb 5, 2023 free
The asset pipeline can be confusing. So, in this episode, we explore Sprockets and the movement towards Propshaft, a new Rails library for managing assets. We'll also have a look at some nuances with jsbundling and how to overcome them.

MySQL FULLTEXT Search
Play
18:59 CC

MySQL FULLTEXT Search

#386 Jan 29, 2023 pro
In this episode, we look at implementing full-text search in MySQL. Using some of the built in functions of MySQL, we are able query tables and add weighted results.