Rails Docked
Play
16:08 CC

Rails Docked

#384 Jan 15, 2023 pro
Docked is a new library which aims to aid in fresh development environments with the use of Docker. In this episode, we use a Steam Deck, to install Docker and by using Docked will have a fully functional Ruby on Rails development environment.

TailwindUI Calendar
Play
40:00 CC

TailwindUI Calendar

#383 Jan 8, 2023 pro
The TailwindUI library provides static styled HTML examples, but this can be difficult to translate into a Rails application. In this episode, we take a look at one of the calendar examples and make it interactive with displaying days that have events as well as returning events on selected days.

Inline Editing with Turbo
Play
10:32 CC

Inline Editing with Turbo

#381 Dec 25, 2022 pro
Using Turbo, we can create an interactive inline editing feature without writing any Javascript. In this episode, we look at some of the nuances with Turbo Streams and handling form errors.

generates_token_for
Play
7:55 CC

generates_token_for

#380 Dec 18, 2022 pro
In Rails 7.1, we're going to get a new feature that will allow us to generate tokens for attributes. With generates_token_for, a token can embed data from a record. When using the token to fetch the record, the data from the token and the data from the record will be compared.

Cloudflare Turnstile
Play
14:30 CC

Cloudflare Turnstile

#379 Dec 11, 2022 pro
Cloudflare Turnstile delivers frustration-free, CAPTCHA-free web experiences to website visitors. In this episode, we'll look at implementing this a few different ways and resolving some issues with Turbo.