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
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
đź§ Curious about how Ruby actually runs your code?
In this article, I take a peek under the hood and explore how YARV (Yet Another Ruby VM) executes Ruby instructions — from bytecode to stack frames. If you’re into Ruby internals or just want to understand what really happens when your code runs, this is for you. https://rubystacknews.com/2025/04/21/%f0%9f%a7%a0-understanding-rubys-yarv-yet-another-ruby-vm-stack-mechanics-from-code-to-execution/
HTML Parsley with Herb
I dig a little deeper into the Herb (ERB) parser, taking a look at the resulting nodes and structure of the AST on the HTML side: https://www.crossingtheruby.com/2025/04/20/html-parsley-with-herb
HTML Gardening with Herb
I write about two potential use-cases for Marco Roth’s new ERB parsing library, Herb: https://www.crossingtheruby.com/2025/04/19/html-gardening-with-herb
Add an RSS feed to your Middleman Blog
I recently added an RSS feed to my middleman blog, and explained the process here: https://harrisonbroadbent.com/blog/middleman-rss-feed/
[ANN] bidi2pdf 0.1.7 & bidi2pdf-rails 0.0.1.alpha.1 released
🚀 bidi2pdf 0.1.7 now supports ActiveSupport::Notifications-style instrumentation — fully compatible with Rails’ native instrumentation. So you can use the build in or use ActiveSupport::Notifications as a drop-in replacement to hook into your existing logging or monitoring setup! [more inside]
JavaScript for Rails Developers is out now
If you have been a Rails developer who has cursed at JavaScript, this book might be for you. https://javascriptforrails.com/ [more inside]
Blogging with Ruby, Middleman and Tailwind CSS
Middleman is a Ruby static site generator that I use for my personal site. I maintain an open-source Middleman blog template that you might find interesting, more info here: https://harrisonbroadbent.com/blog/ruby-middleman-blog/
Introducing Herb — a fast, modern, and HTML-aware ERB parser, designed from the groun
As announced at RubyKaigi today, I’ve been working on a new HTML-Aware ERB Parser that I just released today. [more inside]
🚀 New post on why the .gemspec file deserves more attention.
A well-crafted .gemspec isn’t just a checklist — it’s your gem’s DNA. It defines who it’s for, how it works, what it depends on, and where it lives. In trix-genius, I wanted everything to feel thoughtful and useful from the moment someone installs it. That intention starts here. [more inside]
Old Ruby and Rails on new hardware with dev containers
New post! I need to revive an ancient Rails app (read: Ruby 2.1, Rails 4.0!) after nearly a decade of dust. This is a great fit for a dev container. Here’s what I put together, along with some commentary, May it suit your next legacy Rails revival! https://everydayrails.com/2025/04/15/old-ruby-rails-dev-container
🚀 Just dropped a new update to my gem TrixGenius — now with math expression evaluati
You can type something like (5 + 3 * 2) and hit the ✨ “Calculate” button — the result gets auto-inserted right in the content. Perfect for Rails apps that use ActionText and need some smart input magic. [more inside]
Understanding Closures in Ruby đź”’
Closures are one of Ruby’s most powerful yet often misunderstood features. They allow us to write cleaner, more flexible, and highly reusable code. If you’ve ever used blocks, procs, or lambdas in Ruby, you’ve already interacted with closures — but do you really understand how they work? [more inside]
Adding Structured Data to a Rails application
When it comes to SEO, content is king. However, content is not exclusively what can be seen or read, metadata is also part of the content, and it helps us better communicate what the content is about and what entities are part of it. Learn how to add structured data, a.k.a. schema markup, to a Rails application. [more inside]
How does Rack work?
Rack is a great gem that simplifies communication between rails and other ruby web frameworks with the app servers. This post explains the problem that the frameworks had before rack. https://adbatista.github.io/2025/04/12/rack.html
Print HTML to PDF with Real Headers & Footers
Struggling to get proper headers and footers when generating PDFs in Ruby or Rails? I wrote a quick guide on how to solve this using modern tools. [more inside]
⚙️ Use YML, Thor, and inject_into_file to make your life easier!
I’ve been working on simplifying the repetitive file edits we often make in Rails projects. [more inside]
Allow ActualDbSchema gem working on projects without git
actual_db_schema v0.8.5 is out with a fix allowing the gem to work without git. More details are in this Reddit post: https://bit.ly/43JUI3h
🚀 Finally here: the alpha release of TrixGenius!
Say hello to AI-powered rich-text editing for your Rails apps! ✨ With just a click, your users can now auto-correct spelling mistakes directly inside the Trix Editor — thanks to the magic of DeepSeek + Hotwire. [more inside]
Rails 8 Assets: Adding a bundled package alongside vanilla setup
If you want to use an npm package that you can’t just pin to the importmap but that needs bundling, do you need to abandon the default Rails asset pipeline? Absolutely not, here’s how you can bundle just one package and keep the rest on vanilla Rails asset pipeline: Rails 8 Assets: Adding a bundled package alongside vanilla setup