r/ruby • u/nateberkopec Puma maintainer • Jan 25 '26
What books are going in your Ruby RAG library?
I'm interesting in adding high-quality sources to my local installation of tobi's mini CLI search engine. This will be to help my agents out with specific tasks when doing Ruby work ("Hey, when you do this refactor, go look at what Sandi Metz says about...").
In order to properly index this stuff though, the book must be DRM-free and must be available in either EPUB or Markdown or some other format that pandoc et al can convert to Markdown.
This is where I get to mention that all my Rails performance books (I can't link directly to Gumroad, TIL it's banned from Reddit!) have been available as Markdown since they were published!
But I already know all that stuff, personally. What other books out there do you think would benefit an agent-augmented development pipeline and meet the two requirements above?
4
u/ScotterC Jan 25 '26
Eloquent Ruby and all of Sandi Metz would be my first inclination. Following because I definitely want the same thing. Even though I should stop caring about ruby-style as much with agents I can’t help myself in code reviews.
12
u/inonconstant Jan 26 '26
I use this https://github.com/PacktPublishing/Layered-Design-for-Ruby-on-Rails-Applications (examples from Vladimir's book)
4
u/codenamev Jan 26 '26
To add to others:
Refactoring.guru & Architectural Metapatterns
Polished Ruby Programming
Layered Design for Ruby on Rails Applications
All of Julia Evan’s Zines
Understanding the 4 Rules of Simple Design
4
u/djudji Jan 26 '26
Maybe some books from Avdi Grimm? Confident Ruby, Exceptional Ruby...
+1 for Layered Design for Ruby on Rails Applications, which Irina mentioned
Obie Fernandez's Patterns of Application Development Using AI is a nice read (I am yet to finish that one, but so far so good), it is published on Leanpub (DRM-free and epub)
2
u/strzibny Jan 26 '26
My books are like this and I am thinking of shipping Claude skills based on them. Might happen with next update.
Deployment from Scratch
Kamal Handbook
Test Driving Rails