Tutorials

Inheritance in Ruby, in pictures – Jake Zimmerman
This is as simple as it gets. Most languages use the extends keyword to inherit from a class. Ruby cutely uses the < token, but otherwise it’s very straightforward. When we call on_parent on an instance of Child, Ruby finds the right method to cal...

RubyConf 2023 - Demystifying the Ruby package ecosystem by Jenny Shen - YouTube
A Ruby application is built on a foundation of its gems. But how does a gem get from the package repository to running in your project? RubyGems and Bundler does an excellent job in removing the complexities of gem resolution and installation so d...

Turbo 8 Page Refreshes ( Morphing) Explained at Length | Jon
I’ve spent the last several days reading, consuming, and understanding the new Turbo 8 Page Refresh ( morphing) feature as much as possible. Like tracking down breadcrumbs between various blog posts, PR descriptions, PR conversations/comments, cod...




How to use Solid Queue in Ruby on Rails - YouTube
► Check out https://gorails.com for Pro episodes and more!► SaaS business template for Ruby on Rails with built-in features like Payments, Teams, and much more: https://jumpstartrails.com► Ruby on Rails hosting with Hatchbox.io: https://hatchbox.i...

Write resilient tests with matchers that take other matchers | Everyday Rails
I recently needed to update some old RSpec tests that use VCR fixtures in a Rails application. VCR is a wonderful tool for recording transactions with external HTTP services. It can help make your tests faster by bypassing the potential slowness a...

"Lessons from building GitHub code search" by Luke Francl (Strange Loop 2023) - YouTube
In this talk, I'll share some lessons we learned building a high-performance code search engine, designed to meet GitHub's large scale. GitHub code search is the world's largest publicly available code search engine, with more than 60 million repo...

When do you need to prefix Ruby constants with "::"? (uninitialized constant error) - Stack Overflow
The module nesting is primarily set by using the module and class keywords to open a class/module.If its not found there it will keep going upwards in the module nesting until it reaches main and if the constant still isn't found by then you'll ge...