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.
Building Self-Hosting Rails Applications: Design Decisions & Why
While creating Broadcast (self-hosted email platform), here are some design patterns we used to allow end-users to self install, run, and upgrade their installation easily. [more inside]
🚀 New article!
https://rubystacknews.com/2025/11/25/readable-specs-vs-clever-specs-finding-the-balance-in-test-design/ [more inside]
Single Responsibility Principle
Should a Ruby class do just one thing? Explore the Single Responsibility Principle, cohesion, and when to split classes through practical examples. [more inside]
The Embarrassing Ruby/Rails Subreddit Chronicles 2025-11-24
Welcome to another edition of the Embarrassing Ruby/Rails Subreddit Chronicles. Attached are screenshots for another embarrassing incident demonstrating the mean/hateful nature of Ruby/Rails subreddit members and how they downvote without first having a nice and loving patient discourse in case of a misunderstanding or an uninformed disagreement. It hit me the other day that the reason I suffer from mean/hateful behaviour in the Ruby/Rails subreddits despite being a 2-time Fukuoka international competition winner (of awards by Matz, the creator of Ruby), a 4-time RubyConf speaker, and a 2-time RailsConf speaker is because they allow in people who are below the minimum bar of professionalism and respectful conduct that is required for hiring in a Software Engineering job at a respectful ethical company. https://andymaleh.blogspot.com/2025/11/the-embarrassing-rubyrails-subreddit.html
🔥 Ruby 4.0.0-preview2 is out!
Check out my latest article to explore the highlights and see why your next project should embrace the future of Ruby: https://rubystacknews.com/2025/11/24/%f0%9f%9a%80-ruby-4-0-0-preview2-is-here/ [more inside]
State machines changed the way I design workflows in Ruby.
I’ve used them in payments, approvals, integrations, and complex backend processes — and every time, they help keep the logic clean, predictable, and easy to maintain. [more inside]
Kickstart 1.1.0 is released, now with inertia_rails
I’m thrilled to announce a significant update to the Kickstart Rails app template, now featuring robust support for inertia_rails. This allows you to effortlessly bootstrap Rails applications adhering to best practices using a comprehensive set of six templates: API, ESBuild, ImportMaps, and three Inertia-based templates: React, Svelte, and Vue. [more inside]
Getting Started with Ruby
So you want to learn more about Ruby, but you don’t know where to start? What if you could follow a list of free resources to learn Ruby? [more inside]
Ruby isn’t “just elegant”—it’s a powerhouse.
I wrote a deep dive into how Ruby’s object model and metaprogramming can make your Rails apps cleaner, faster to evolve, and easier to maintain. If you want to write senior-level Ruby, read this: https://rubystacknews.com/2025/11/18/mastering-rubys-object-model-and-metaprogramming-in-rails/
Don't REST on your Laurels
I prefer to limit controllers to use the “default” seven actions supported by using Rails’ resource routing. My reasoning has nothing to do with performance or technical benefits. [more inside]
Ruby is a programming language that teaches more than syntax.
It teaches how to think — and sometimes, even how to talk. [more inside]
Upgrading Rails applications with an AI skill
Learn how the custom Rails Upgrade Assistant Skill, built on Anthropic’s platform, automates the tedious process of merging configurations and detecting breaking changes when upgrading Ruby on Rails applications (v7.0 to v8.1). Includes details on its intelligent analysis and custom code preservation features. [more inside]
A few more free Phlex on Rails videos
Two more free Phlex on Rails Component fundamentals videos for the beginning of this week: Rendering and Tags, attributes, & text.
Rendering Samples with Showcase for Ruby on Rails
In the final part of our Showcase for Rails series, we’ll look at its key feature - samples: https://blog.appsignal.com/2025/11/12/rendering-samples-with-showcase-for-ruby-on-rails.html
Hanami 2.3: Racked and Ready
Our biggest release yet. Rack 3, resource routes, and so much more. https://hanamirb.org/blog/2025/11/12/hanami-23-racked-and-ready/
Growing Software
Keeping things simple and letting your app tell you where you need to change it is the best option. You don’t need different architectures or patterns. If you do need them, your app will tell you (which is why you should study them. Not to use them as cookie cutters) [more inside]
An unexpected quirk of the `` specifier in a gemspec
I didn’t fully understand the semantics of < in a gemspec with respect to pre-release gems until I tried to upgrade a beta version of rails to the final release. [more inside]