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.
Today
AI Document assistant
AI Document Assistants are transforming the way we handle information. By automating repetitive tasks and providing intelligent insights, they make document management more efficient and less time-consuming.
Polling for New Records
Websockets are great, but they are not always the right approach. In this episode, we will look at implementing a long polling for new records.
Beyond Mocked Payloads: End-to-End Stripe Webhook Testing
If you’ve ever wondered whether your Stripe webhook handler actually works end-to-end (not just with mocked payloads), this walks through using Stripe Test Clocks and the Stripe CLI to simulate the full payment failure retry sequence locally, including a race condition that only showed up this way
HexaPDF 1.9.0 released, with support for HarfBuzz based text shaping
The latest release 1.9.0 of HexaPDF supports HarfBuzz based text shaping. Now complex scripts are rendered correctly. [more inside]
Sessions Are Not Server Memory
Rails makes session[:user_id] = 42 feel like a hash write, but CookieStore serializes and encrypts session data into a browser cookie. This article traces that pipeline, the 4KB cookie limit, and why sessions should carry identity instead of application state. [more inside]
Rails GuardDog: Advanced Security Scanner for Rails
Rails GuardDog is a new open-source security scanner for Rails that goes beyond tools like Brakeman. [more inside]
RubyConf has joined RailsConf & RailsWorld as an exclusive discriminatory conference
RubyConf has joined RailsConf & RailsWorld as another exclusive discriminatory unexcellent conference.
I gave a generic LLM access to Ruby documentation through RAG.
The hallucinations didn’t disappear. They changed. The most interesting failures happened when the model had the correct context and still answered incorrectly. [more inside]
Meet Mata: live reload for Rack Apps
https://railsdesigner.com/meet-mata/ and ⭐ https://github.com/Rails-Designer/mata Lightweight live reload for Rack apps (using SSE and idiomorph).
RubyGems 4.0.13 and Bundler 4.0.13 are out.
The most notable addition is a new cooldown mechanism for newly published gems, helping reduce the risk of supply-chain attacks. [more inside]
Slides for RubyConf.AT 2026 Talk "Frontend Ruby on Rails with Glimmer DSL for Web"
My talk “Frontend Ruby on Rails with Glimmer DSL for Web” went well at RubyConf Austria 2026. Especially given that after the talk, Chad Fowler (the starter of RubyConf and famous book author of The Passionate Programmer, among other books) told me “good job”, and Obie Fernandez (a famous Ruby expert and book author of The Rails Way, among other books) told me he will try Glimmer DSL for Web because he doesn’t like React.js.
From Coder to Architect: How to Learn Rails When AI Writes the Code
I recently realized that the way I learned Ruby on Rails ten years ago is now completely obsolete…. [more inside]
Get Sidekiq and Faktory support in the Ruby Users Forum
Composition: Building with Parts
Building complex objects in Ruby with composition and modules as roles, and knowing when each one beats inheritance for your design. [more inside]
How to Choose a Gem Wisely
Imagine this scenario: a developer added a pub/sub gem built on top of Sidekiq to handle background event broadcasting in your company’s Rails app. At the time, it was a huge win: instead of building a custom job orchestration system, they could drop in the gem, wire up a few events, and ship a feature in days instead of weeks. [more inside]
http_decoy — a real Rack server that runs inside your RSpec tests
Spin up a real WEBrick server in your test suite with a clean DSL. Define routes, validate request contracts, simulate failure scenarios, and tear down automatically. No VCR cassettes. No scattered WebMock stubs. Works with WebMock out of the box. [more inside]
Turning a generic LLM into a Ruby-LibGD expert, one correction at a time.
A real-world experiment in hallucinations, context, RAG, and why context is not the same thing as training. [more inside]
Build a SaaS App in Rails 8 is content complete
The book is content complete and is going through the process of making sure all the code samples, code ordering, etc is correct…along with some more grammer/editing. Check it out at:
Stop Using JS for Everything: Harnessing the Power of Pure CSS in 2026
I remember when building a simple dropdown menu or a sticky header required a library like jQuery…. [more inside]
I'm making a collectible limited-edition Ruby stained glass
Ever since I talked about my journey as a stained-glass maker turned developer on the IndieRails podcast, I’ve had this wild idea living rent-free in my head: what if I made a collector’s stained glass in tribute to Ruby?
RAG gives models memory.
Training gives them their nature. And when context becomes incomplete, the scorpion returns. My latest thoughts on local AI, Ruby, and why RAG isn’t a magic solution. #ruby #ai #ollama #rubyonrails [more inside]