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.
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!
Phlex component fundamentals
Today I’m kicking off the second unit of free Phlex on Rails videos with the “Phlex is Ruby” video at https://beautifulruby.com/phlex/components/basics. This unit is geared towards people who have experience with Ruby and are Phlex-curious.
Two free Phlex on Rails videos
The last of my introduction videos, “Why Rails” at https://beautifulruby.com/phlex/overview/rails and “Why Components?” at https://beautifulruby.com/phlex/overview/components. The next videos will be less intro and more instruction.
How to use local Docker registry in Kamal
Here’s how to save costs and avoid DockerHub with a completely local Docker registry.
Kamal Handbook 2.1 released
I released Kamal Handbook 2.1 which updates the book to Kamal 2.8.2.