Skip to content
Change the repository type filter

All

    Repositories list

    • Easily add Markdown support to your Rails applications with Marksmith. This isn't a drop-in replacement to ActionText, but can be used with text or blob columns. Marksmith integrates easily with ActiveStorage for handling file uploads. In this episode, we'll explore setting up Marksmith and some best practices.
      HTML
      00010Updated Aug 6, 2025Aug 6, 2025
    • Ruby
      0008Updated Aug 5, 2025Aug 5, 2025
    • Model Context Protocol (MCP) is an API interface for your applications that are formatted in a way that machine learning platforms can interact with them. They can be used to generate AI insights, perform tasks based on user input or other things.
      Ruby
      0001Updated Aug 5, 2025Aug 5, 2025
    • HTML
      00010Updated Aug 5, 2025Aug 5, 2025
    • 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.
      HTML
      0109Updated May 16, 2025May 16, 2025
    • 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.
      HTML
      00010Updated May 5, 2025May 5, 2025
    • HTML
      21010Updated Apr 7, 2025Apr 7, 2025
    • HTML
      14010Updated Feb 27, 2025Feb 27, 2025
    • 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.
      HTML
      13010Updated Feb 5, 2025Feb 5, 2025
    • 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.
      HTML
      02010Updated Dec 31, 2024Dec 31, 2024
    • 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.
      Ruby
      0206Updated Dec 9, 2024Dec 9, 2024
    • 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.
      Ruby
      0000Updated Aug 5, 2024Aug 5, 2024
    • Ruby
      0100Updated Jun 3, 2024Jun 3, 2024
    • In this episode, we look at running a self hosted Large Language Model (LLM) and consuming it with a Rails application. We will use a background to make API requests to the LLM and then stream the responses in real-time to the browser.
      Ruby
      1500Updated Mar 3, 2024Mar 3, 2024
    • Ruby
      0100Updated Jan 7, 2024Jan 7, 2024
    • Ruby
      0100Updated Dec 4, 2023Dec 4, 2023
    • 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.
      Ruby
      2200Updated Nov 6, 2023Nov 6, 2023
    • Ruby
      0100Updated Oct 2, 2023Oct 2, 2023
    • 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.
      Ruby
      0000Updated Sep 4, 2023Sep 4, 2023
    • template

      Public
      Base template for "all" Drifting Ruby episodes
      HTML
      51800Updated Sep 1, 2023Sep 1, 2023
    • 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.
      Ruby
      0100Updated Aug 7, 2023Aug 7, 2023
    • 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.
      Ruby
      0200Updated Jul 2, 2023Jul 2, 2023
    • 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.
      Ruby
      0400Updated Apr 3, 2023Apr 3, 2023
    • Ruby
      0000Updated Mar 6, 2023Mar 6, 2023
    • Soft deletes for ActiveRecord done right.
      Ruby
      12029Updated Jan 19, 2023Jan 19, 2023
    • Without using any gems, we look at tracking changes within Action Text. It seems like a simple thing, but challenges arise through several layers of abstraction due to the flexibility that Action Text provides.
      Ruby
      00030Updated Jan 19, 2023Jan 19, 2023
    • Add unobtrusive maps to your application using StimulusJS to tie in Google Maps Javascript API and Places API.
      Ruby
      12032Updated Jan 19, 2023Jan 19, 2023
    • Set up Action Text with client side Syntax Highlighting using Highlight.js.
      Ruby
      00033Updated Jan 19, 2023Jan 19, 2023
    • In this episode, we look into using Push Notifications within our Rails application and then using ActionCable to broadcast Push Notifications to the user.
      Ruby
      10035Updated Jan 19, 2023Jan 19, 2023
    • In this episode, we look at attaching emojis to our comments model, allowing them to fill in some emotional cues.
      Ruby
      00032Updated Jan 19, 2023Jan 19, 2023