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.
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. Read more
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? Read more
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:
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. Read more
4 new component sets for Rails + Tailwind apps - Rails Blocks
railsblocks.com/changelog Read more
Rails form_for vs form_with
Rails form_for vs form_with
Ruby is a programming language that teaches more than syntax.
It teaches how to think — and sometimes, even how to talk. Read more
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. Read more
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:
Hanami 2.3: Racked and Ready
Our biggest release yet. Rack 3, resource routes, and so much more.
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) Read more
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. Read more
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. Read more
Rails Performance: 5 Critical Bottlenecks You're Missing
I just published a short post on the 5 most common Rails performance issues.
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 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.