Discover the latest articles, tutorials, and insights from the Ruby and Rails ecosystem.
1263 articlesI remember when I first started with Rails, I thought .count, .length, and .size were exactly the…
rails-persona adds first-class behavioral tracking to any ActiveRecord model. Define trackable actions with a DSL, then query frequency, inactivity, l...
https://tejasbubane.github.io/posts/rate-limit-rack-app-per-account/
Rails does not render views by guessing filenames. It builds a template lookup query from the controller, action, format, variant, handler, and view p...
I got tied of cussing the CLI task running that I’ve been using for a few years. It was good but it wasn’t Ruby. So I wrote my own. The power of The M...
I love Rails, but I’ve always found ERB to be a bit messy. You spend your whole day jumping between…
I like the simplicity of traditional Rails apps and the component-based approach of ViewComponent, but I always felt the ecosystem was missing somethi...
For a long time, if you wanted a primary key that was both unique and chronological, you reached for…
https://github.com/durable-oss/rapidyaml-rb
Last week, I spent an extended weekend in Rimini, Italy, for the first edition of Rubycon. I decided to present an impromptu lightning talk to connect...
https://rubystacknews.com/2026/05/28/running-ai-locally-for-ruby-development-a-practical-guide-with-ollama-aider-and-your-own-codebase/
May 28, 2026 Ruby Stack News — by Germán Silva There’s a quiet revolution happening in developer tooling, and it doesn’t require a cloud subscription,...
https://baweaver.com/writing/2026/05/27/ai-didnt-create-these-problems/
I know the feeling of opening a blank index.html.erb file and having no idea how to make it look…
https://railsdesigner.com/building-customizable-tailwind-themes/ — Using OKLCH you can tweak one custom property, e.g. :root { --color-value: 60; } an...
https://rubystacknews.com/2026/05/27/exploring-rubys-openssl-stdlib-internals-from-c-bindings-to-ruby-apis/
May 27, 2026 Ruby ships with a standard library gem named openssl, responsible for exposing cryptographic primitives, TLS/SSL sockets, certificates, d...
#802 — May 28, 2026 Read on the Web Ruby Weekly A New Register Allocator For ZJIT — Deep-in-the-engine-room stuff, but the kind that makes Ruby faste...
In a previous article, I talked about Snowflake IDs. They are great, but they require a bit of…
https://rubystacknews.com/2026/05/26/understanding-ruby-proc-internals-through-proc-c/
May 26, 2026 Ruby’s elegance hides an extremely sophisticated runtime underneath. Features like blocks, lambdas, closures, binding, method(:foo), and ...
I’ve lost count of how many times I’ve been tempted by a “revolutionary” new database. Every few…
https://www.rubyforum.org/t/how-to-self-host-your-ruby-apps
https://paweldabrowski.com/farewell-to-rails-way/five-foundations-for-building-complex-rails-apps
https://rubystacknews.com/2026/01/09/ruby-can-draw-cities-now/
Automating the “glue work” of a SaaS business is a survival skill for a solo developer. You need to…
Robert is a native FreeBSD AI assistant. He can read man pages, search documentation, and help you troubleshoot. It is distributed as a 2MB standalone...
Rails controller actions do not return HTTP responses directly. They perform response state through render, redirect_to, head, or implicit rendering, ...
rails-llm provides generators and an engine for the llm.rb runtime inside Ruby on Rails. The engine includes a chat interface, and the generators take...
https://dev.to/sergii-khomenko/writing-code-got-cheap-being-responsible-for-it-didnt-what-shipping-an-ai-generated-gem-taught-1fci
When you run rails generate model, Rails defaults to using a standard auto-incrementing integer for…
New episode is out. David recaps Blue Ridge Ruby and talks about coming back motivated to contribute more to open source, which leads into a broader d...
A collection of the various Ruby libraries and execution environments for building desktop, mobile, terminal, game, and browser applications.
https://rubystacknews.com/2026/05/21/inside-rubys-object-model/
May 21, 2026 How MRI Really Implements include, prepend, extend, Singleton Classes and Method Lookup Ruby’s object model looks elegant from the outsid...
Most developers think that “progress” means adding lines of code. We feel good when we finish a new…
I wrote a post as an introduction to developing your own AI agent that is backed up an ActiveRecord model. The agent can search and read man pages, an...
A walk through the design choices for showing rich UI in an LLM chat app instead of plain text bubbles. Tools, schemas, and a tiny gem for generative ...
https://github.com/sergey-homenko/llm_cost_tracker
https://rubystacknews.com/2026/05/20/ruby-libgd-cheat-sheet-building-native-graphics-pipelines-in-ruby/
May 20, 2026 Modern Ruby applications rarely interact directly with native graphics pipelines. Most projects delegate image processing to external too...
#801 — May 21, 2026 Read on the Web Ruby Weekly 🛠️ One Year of Ruby on Rails Configuration — The creator of GoodJob shares a tour of the monkey ...
Dropping a column is simple in syntax but risky in production. Between running the migration and restarting the app, the old process still serves traf...
We are living in a wild time for software development. With tools like Cursor, Windsurf, and ChatGPT,…
Every morning, I see the same thing on my Twitter feed or the GitHub Trending page. A new Ruby gem is…
I got tired of the existing APM options being overkill for smaller Rails projects, so I built DeadBro. It detects N+1 queries, tracks errors with full...
Springtime in Portland is always a true delight, and the perfect backdrop for our newest release of Bridgetown, version 2.2 “Verdant River City“. Feat...
ActiveHarness — a Ruby framework for building production-ready AI agents with multiple LLM providers, lifecycle hooks, and a Rails-friendly DSL. Made ...
We are a renowned Software Development Company in the USA called Sapphire Software Solutions that provides inexpensive Web and Mobile Application Deve...
I just released stimulus_grid_rails v0.1.0 — Rails + Hotwire bindings for a server-driven, multi-user editable data grid over Turbo Streams and Action...