RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Submit a post

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

  Today

Ruby Method Arguments: a new book, from your first call to metaprogramming

A new book on Ruby method arguments that follows one thing all the way down: how a Ruby method receives its arguments. From def greet(name) to keyword arguments, splats, blocks, closures, method_missing, instance_eval, and building a small DSL — with the patterns behind Rails and RSpec rebuilt from scratch. Every example was run before it was printed, and the exercises have self-checking solutions in a free companion repo.

When broadcasting a refresh is not enough: faster UX with versioned updates

If you’re using Turbo broadcasts to make a page collaborative, you might have noticed that the default refresh approach adds latency: an extra round trip, a debounce delay, and a flood of simultaneous requests when many users are connected. Broadcasting a replace action with the content directly fixes most of that, but it opens up a race condition where updates can arrive out of order. Here’s how to get fast, immediate updates without sacrificing correctness: When broadcasting a Turbo refresh is not enough: faster UX with versioned immediate updates

RubyConf 2026 Is Not a Safe Environment for Everyone

RubyConf 2026 is not a safe environment for everyone. They have an in-group and an out-group. If you’re in the in-group, they will treat you well and accept talk proposals by you even if you don’t have top-level skills in Software Engineering. If you’re in the out-group, it doesn’t matter if you launch rockets to the moon successfully on your own or win the approval of Matz himself, you will be excluded and discriminated against. This is no different from how the MLB (Major League Baseball) used to mistreat Afro Americans and relegate them to playing in the Negro league instead of the Major League. Telling someone who can perform at the major league level they are unaccepted as a player there, but could attend if they want is most definitely discrimination 100%.

Tracking Business Metrics in Rails without a full analytics stack

Rails apps often need metrics that are not quite logs, not quite BI, and not quite infrastructure monitoring: orders per day, revenue, background jobs, imports, feature usage, tenant activity, and other counters that belong close to application code. I wrote about using Trifle::Stats to track those app-level business metrics from Ruby with time rollups, nested breakdowns, and simple retrieval for charts or console answers. [more inside]

Loading older posts