Category: Ruby on Rails

  • Rails 6.1 with ActionCable and Stimulus2 – Real-Time Programming Tutorial

    Rails 6.1 with ActionCable and Stimulus2 – Real-Time Programming Tutorial

    Back again with another Rails talk! Today I do a quick run through of getting Rails 6.1 working with ActionCable and Stimulus (or Stimulus JS, if you prefer). And no, I’m not doing a messaging app, I am doing an app that pushes out object updates to a webpage. I am using the new Stimulus…

  • First Look: Sharding in Rails 6.1

    First Look: Sharding in Rails 6.1

    Rails 6.1 was released as a stable build not so long ago. One of the features I was interested in is the support for sharding. In this video I take my first look at it. 00:00 Introduction 01:00 Setup 02:30 What is Sharding? 06:00 Configure and Create the DBs 08:35 Put data in the database…