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.
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]
CMDx v1.11 - Conditionally require arguments
The latest CMDx update lets you mark execution arguments as required only in certain conditions. This helps when objects behave a bit differently depending on context, like users versus admins. [more inside]
Rails Performance: 5 Critical Bottlenecks You're Missing
I just published a short post on the 5 most common Rails performance issues. https://www.shivamchahar.com/posts/rails-performance-5-critical-bottlenecks-you-are-missing
Solving Real-World Rails Authorization Problems with Rabarber
Long ago, we were building a custom admin area with multiple internal roles, each requiring different access levels. Existing authorization solutions didn’t quite fit our needs for simple role checks, which led us to create Rabarber, a Ruby on Rails authorization library. In this article, you can read about how it came to be and how to use Rabarber for typical use cases: https://dev.to/enjaku4/role-based-authorization-for-rails-how-we-built-rabarber-ahi
My go-to prompt for legacy code exploration
Hey Ruby friends! I wrote a post about My go-to prompt for legacy code exploration. It’s not Ruby-specific but I use it a lot on Rails rescue projects!