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.

LLM Context
Play
18:22 CC

LLM Context

#446 Mar 10, 2024 pro
Building on the previous episode, we look at refactoring our background job into a more maintainable object and provide context to the LLM so that we can chain together responses for a more conversational experience.

Campfire Bots
Play
31:41 CC

Campfire Bots

#444 Feb 25, 2024 pro
In this episode, we explore the practical use of Campfire Bots for webhook applications. We'll start by setting up an AI Image Generator bot that interacts with our Ruby on Rails application, and then connect it to a self-hosted Large Language Model (LLM). Our initial goal is to get the system working. After that, we'll focus on refactoring the code to improve its safety and maintainability.

Reloadable Fixtures
Play
25:10 CC

Reloadable Fixtures

#443 Feb 18, 2024 pro
In this episode, we'll have a look at a way where we can use fixtures to manage the data in our development environment, tests and a demo environment. We'll dive into some complications and nuances with handling fixtures in ActionText and ActiveStorage.

CSS and JS in Rails Engines
Play
22:04 CC

CSS and JS in Rails Engines

#442 Feb 11, 2024 pro
Setting up a Rails Engine with the TailwindCSS and Hotwire via Importmaps can be rather difficult. There's a lot of undocumented steps to take and it can be overwhelming to approach these problems. In this episode, we look at a step by step approach to both adding TailwindCSS and Turbo & Stimulus into a Rails Engine.