Drifting Ruby Screencasts

Drifting Ruby Screencasts

By Dave KimuraTechnologyEducation
Download on the App Store

All Drifting Ruby Screencasts episodes

  • Boolean vs Datetime
    In this episode, we look at refactoring an existing application where it uses a boolean to determine if a post is published or unpublished. However, this feature has its limitations, so we change the functionality to work off of a datetime column instead.
    14 min
  • Vibe Coding
    Time to stop hiring $100k/year developers and hire an intern for $10k/year and pay $100/year for an AI Agent. The intern doesn't even need to understand the code it is generating and just help guide it to the solution. Sadly, this has to be said because people do not watch the content. This is satire.
    18 min
  • Conditional Queue
    In this episode we look at processing background jobs in a way that can conditionally send the work to be processed to different queues. This can be very powerful in situations where you need to process the job in different ways or send requests to different APIs.
    19 min
  • Outlets and Permanent Tags
    In this episode, we'll explore how we can add a "global" music player that will persist across different pages. Our approach will be unobtrusive and implemented in a maintainable way.
    14 min
  • Skeleton Frames
    In this episode, we look at implementing a temporary loader for turbo frame tags to give a visual of data that is loading.
    14 min
  • Kamal Kitchen Sink
    In this episode, we look at creating an entire infrastructure (proxy, load balancer, app servers, worker servers, database server, and a storage server) on our own hardware use Kamal to provision and deploy our Ruby on Rails application.
    32 min
  • Kamal 2
    In this episode we look at deploying a Rails 8 beta application to a Digital Ocean droplet. We'll also look at a scenario of deploying Action Cable broadcasts and another with recurring background jobs.
    23 min
  • Dependent Fields with Hotwire
    Large forms can be overwhelming to fill out, especially if not all of the fields are required. In this episode, we'll look at creating a stimulus controller to conditionally display fields based on the input of another field.
    21 min
  • Processing Large Jobs
    In this episode, we will upload a CSV file but need to pass it into a background job. This can prove to be difficult based on the hosting infrastructure so we'll explore some mechanisms to work around them. We'll also look to optimize Solid Queue to handle the large number of jobs.
    21 min