Hotwire Question and Answer Feature
Play
41:09 CC

Hotwire Question and Answer Feature

#363 Aug 21, 2022 pro
In this episode, we create a highly interactive question and answer feature using Ruby on Rails and Hotwire. We also look at handling contextual actions based on the user when broadcasting the answers, all without writing any javascript.

Stripe Donations
Play
15:31 CC

Stripe Donations

#362 Aug 14, 2022 pro
In this episode, we look at two different ways to handle donations with Stripe. The first method is a "no code" way that would work on any website that may not have a backend. The second method, we use the Stripe gem and their API to create a Checkout session for handling donations.

Partial Inserts
Play
5:37 CC

Partial Inserts

#360 Jul 31, 2022 pro
Parsing through the Ruby on Rails CHANGELOG can reveal some interesting features and changes in the framework. In this episode, we look at one of those changes around inserting records into our database.

Liquid Templates
Play
22:12 CC

Liquid Templates

#358 Jul 17, 2022 pro
Using Stimulus and Liquid, we can create real time previews of the Liquid Template Renderer. Liquid provides a markup language that is a safe, customer facing template language for flexible web apps.

Current Attributes
Play
14:53 CC

Current Attributes

#357 Jul 10, 2022 pro
Abstract super class that provides a thread-isolated attributes singleton, which resets automatically before and after each request. This allows you to keep all the per-request attributes easily available to the whole system.