Drifting Ruby Screencasts

Drifting Ruby Screencasts

By Dave KimuraTechnologyEducation
Download on the App Store

All Drifting Ruby Screencasts episodes

  • Demystifying the Asset Pipeline
    The asset pipeline can be confusing. So, in this episode, we explore Sprockets and the movement towards Propshaft, a new Rails library for managing assets. We'll also have a look at some nuances with jsbundling and how to overcome them.
    20 min
  • Custom Turbo Stream Actions
    With the release of Turbo 7.2, we gained the ability to create custom actions in Turbo. This allows us to trigger functions on the client side that would have been difficult or cumbersome to do in the past. In this episode, we look at setting up custom actions and how to use them.
    16 min
  • Stimulus Outlets API
    Outlets let you reference Stimulus controller instances and their controller element from within another Stimulus Controller by using CSS selectors. In this episode, we look at a simple example and then refactoring some older code where we used some workarounds to communicate with other stimulus controllers.
    14 min
  • Infrastructure Migration
    For various reasons, we may decide to move our services off of one platform onto another. This could be due to pricing, uptime or other reasons. In this episode, we look at migrating a Ruby on Rails application and database from Heroku to Fly.
    15 min
  • Hotwire Introduction
    Hotwire is an alternative approach to building modern web applications without using much JavaScript by sending HTML instead of JSON over the wire. With Rails 7, we get Hotwire added in by default. In this episode, we look at some of the features with Hotwire and how to use them.
    24 min
  • Automate Rake Tasks
    When rake tasks need to be part of a deployment, you could find yourself in a situation where the rake task was forgotten about or have to go through the process of shelling into the environment to execute the tasks. In this episode, we look at addressing these issues by creating a way to have rake tasks execute automatically.
    19 min
  • Ubuntu Desktop
    Ubuntu is an open source software operating system that offers a great development experience and can run on most x86/amd64 systems. In this episode, we set up our Ruby on Rails development environment on Ubuntu 22.04 LTS Jammy Jellyfish.
    12 min
  • File Uploads and Cloud Storage
    AWS S3 has been a reliable service over the years and for a long time it was the only option. However, in the past few years, there has been more cloud storage options that have popped up with compatible S3 APIs. These services can sometimes offer better pricing and speeds.
    16 min
  • Active Record Tricks
    In this episode, we look at tips and tricks from read only attributes, inserting and upserting (update or insert) records, toggling booleans, and single table inheritance.
    12 min