Skip to content
Change the repository type filter

All

    Repositories list

    • HTML
      0107Updated Dec 19, 2024Dec 19, 2024
    • 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
      1309Updated Dec 19, 2024Dec 19, 2024
    • 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
      01010Updated Dec 18, 2024Dec 18, 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
      0106Updated 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
    • In this episode we create a Like/Unlike system where users can like posts and use Global ID to obfuscate IDs.
      Ruby
      01034Updated Jan 19, 2023Jan 19, 2023
    • When database tables get large, things can slow down significantly. In this episode, we look at a few things which helps keep databases performant and the client side responsive.
      Ruby
      02032Updated Jan 19, 2023Jan 19, 2023
    • Using Rails UJS, we create an interactive row editing solution without using any kind of Javascript frameworks.
      Ruby
      05130Updated Jan 19, 2023Jan 19, 2023
    • Learn how to incorporate FullCalendar into your Ruby on Rails application with listing and creating events. Using unobtrusive javascript, we can create a fast interactive calendar.
      Ruby
      3229110Updated Jan 19, 2023Jan 19, 2023
    • 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.
      Ruby
      0200Updated Jan 2, 2023Jan 2, 2023
    • 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.
      Ruby
      0200Updated Dec 5, 2022Dec 5, 2022
    • 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.
      Ruby
      0000Updated Oct 3, 2022Oct 3, 2022