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.

Middleman
Play
27:48 CC

Middleman

#389 Feb 19, 2023 pro
Middleman is a static site generator using all the shortcuts and tools in modern web development. In this episode, we look at creating a static site using TailwindCSS and one of the TailwindUI templates. We also take an interesting approach to keep the development experience close to one that we would expect in a Rails application.

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.