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.

Limiting Text Input
Play
18:41 CC

Limiting Text Input

#350 May 22, 2022 pro
User experience is important and there are little things that we can do to help improve this experience. By giving real time feedback on text inputs to approaching limits on fields, the user can modify and update their text accordingly before they submit the form. In this episode, we look at database level, model validations and limiting text input on the client side.

Easy Infrastructure
Play
25:11 CC

Easy Infrastructure

#355 Jun 26, 2022 pro
Continuing on from the previous episode, we look at creating a Docker Swarm cluster and using Traefik to load balance and route requests to various applications. Using this and CloudFlare proxies, we're able to create and deploy hobby applications in minutes.

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.

Testing External Sites
Play
13:21 CC

Testing External Sites

#359 Jul 24, 2022 pro
Sometimes we find ourselves in a situation where we are handling the releases for an important application in our organization, but with each release, a regression/happy path testing must occur. We can use Ruby and Capybara to test these external sites.