News
Abusing Rails' content_for to push data attributes up the DOM | justin․searls․co
f you use Hotwired with Rails, you probably find yourself writing a lot of data attributes. This is great, because (similar to HTMX), it makes the DOM the primary source of truth and all that, but it sometimes imposes one of several vexing constra...
Vignettes on language evolution: discovering an old syntax feature history
While working on Ruby Evolution-themed articles (and looking for a shape for the future book), I am starting to look deeper and deeper into the history of the language—and into other languages, too, trying to understand when some solutions became ...
Better Know A Ruby Thing: On The Use of Private Methods
In Ruby, a method without side effects should be public.You should only have a private method if there is a side effect such that the object will end up in a bad state if it called at the wrong time. (Also, you should try to avoid having methods t...
Once a Maintainer: Mike McQuaid - by Allison Pike
Welcome to Once a Maintainer, where we interview open source maintainers and tell their story.This week we’re talking to Mike McQuaid, project leader and longest tenured maintainer of Homebrew, a package manager for macOS and Linux used by tens of...
The design decisions and evolution of a method definition - Ruby case study
This is the first part of what’ll hopefully become a new series and potentially even a book. It is dedicated to studying various elements of Ruby programming language design decisions, how they evolved with time, and how they look in a wider conte...
Syntax Moratorium til 3.4 - Ruby master - Ruby Issue Tracking System
As some may remember from the closing keynote at RubyKaigi, we are introducing Syntax Moratorium to support fair development of parsers.During the Syntax Moratorium period, new syntactical changes will be suspended (changes not includes bug fixes,...