Drifting Ruby Screencasts

Drifting Ruby Screencasts

By Dave KimuraTechnologyEducation
Download on the App Store

All Drifting Ruby Screencasts episodes

  • Detect Spam with AI
    We can create a small python service that uses a Large Language Model (LLM) to detect if a message is spam or not. Using this service, we can tie it into our Rails application so that any comment created will be evaluated for being spam or not. We explore a few different routes on handling any messages flagged as spam.
    30 min
  • Embedding Stripe Checkout
    Stripe Checkout is one of my favorite ways to handle payments in Ruby on Rails applications. Stripe Checkouts will soon have an option to embed the Checkout into your web application. In this episode, we'll look at implementing this feature with a StimulusJS controller.
    20 min
  • System Tests
    In this episode, we look at adding system tests in our application to test our Stimulus Controllers. We'll also look at how to DRY up some of the tests and how to run them in a headless environment.
    20 min
  • PDF Reader
    When previewing PDF files that were uploaded through Active Storage, we can only get a simple image of the first page. In this episode, we'll look at taking the uploaded PDFs and interacting with them.
    19 min
  • Broadcasting Progress from Background Jobs
    In a previous episode, we had created a custom ActionCable channel to assist in broadcasting updates from a background job. With the introduction of Turbo, we can simplify this process as we look at a few different approaches in displaying a progress bar with real time updates from background jobs.
    23 min
  • Page Not Found
    In this episode, we take a few different approaches in how we display error pages in our Rails application. We'll also look at a few potential problems with each approach that we need to be aware of.
    13 min
  • Session Hijacking
    In this episode, we explore session hijacking and an approach that we can take to limit the risk. There are some user experience and functionality caveats to this approach so they must be taken into consideration as well.
    10 min
  • Transcribing with Artificial Intelligence
    In this episode, we look at creating an audio transcription service which allows files uploaded from Active Storage to be transcribed with Artificial Intelligence. However, there are a lot of considerations around the approach from both a performance and thread safety perspectives.
    37 min
  • Deploying with MRSK
    Kamal (MRSK) deploys web apps anywhere from bare metal to cloud VMs using Docker with zero downtime. In this episode, we will set up a Digital Ocean infrastructure with a Load Balancer, Virtual Machines, and a PostgreSQL database. We'll use Kamal (MRSK) to provision and deploy our Rails application to the Virtual Machines.
    38 min