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

The Modular Monolith in Rails: Engines, Packwerk & Boundaries

A current (Rails 8, Zeitwerk) walk-through of enforcing boundaries inside a Rails monolith before reaching for microservices. It compares Engines vs Packwerk vs extracted gems vs services in a single matrix, covers what Zeitwerk does and doesn’t give you, sets out a safe incremental migration loop, and is honest about when not to bother. First-party runnable examples throughout. Written from the experience of decomposing a large production monolith into engines — feedback from people running this in anger is welcome. Disclosure: I wrote this and the free companion book it links to. [more inside]

Skrift: Pure-Ruby TrueType / OpenType glyph rendering

Skrift and its accompanying plugins skrift-color (Emoji rendering), skrift-boxdrawing (“perfect” scaling boxdrawing characters) and skrift-x11 provides a whole eco-system of TrueType / OpenType text rendering to bitmaps or X11 drawables with no external dependencies (no FreeType etc.). [more inside]

Looking forward to giving this a go. I’m a big fan of these pure Ruby ports and…

Where Does current_user Actually Live?

𝚌𝚞𝚛𝚛𝚎𝚗𝚝_𝚞𝚜𝚎𝚛 reads like global state, but Rails request identity moves through the session, Warden, Devise helpers, optional 𝙲𝚞𝚛𝚛𝚎𝚗𝚝𝙰𝚝𝚝𝚛𝚒𝚋𝚞𝚝𝚎𝚜, and executor cleanup. This article traces that lifecycle and the production bugs that appear when those boundaries are confused. [more inside]

gem-skill version 0.2.0 adds optional source code verification

The new –verify flag and verify sub-command implement an option pass of the generated SKILL.md file for a Ruby gem against its source code toe detect when the gem’s documentation may be a little outdated. If any issues are found, the SKILL.md file is updated. This version also adds a new global skill “ruby-gem-skills” that is inserted by the command gem skill setup into the claude code, codex and generic agents global skills directories to route requests to the local ~/.gem/skills directory.

Loading older posts