How to self-publish a programming book
Ayush Newatia shares his journey of making the Rails and Hotwire Codex

Today I'm excited to share a conversation with Ayush Newatia, author of the Rails and Hotwire Codex. He describes the project as “the most challenging and rewarding professional work I’ve ever done.”
I bought his book a couple of years ago to help me learn more about building full-stack applications with the Ruby on Rails and Hotwire frameworks. It bridges the gap between beginner-level tutorials and building Rails applications in a professional setting.
Ayush and I met in London last week to collaborate on some work with Find AI, so I thought it would be fun to record a chat about how and why he published this tome about full-stack development with Ruby and Rails.
We cover:
- How he came from the iOS + Android mobile apps to Ruby on Rails
- Why he decided to write a book unifying Rails + mobile apps
- How he had never made a mobile app with Rails before starting a book on this topic
- How he motivated himself to finish the book and get it shipped
- Why writing is a superpower for programmers
- The value of doing hard things without taking shortcuts
- How doing hard things is the best way to stand out as a modern knowledge worker
Watch on Youtube. Listen to a recording of this conversation on Apple Podcasts, Spotify, or other podcast players.
Links from the episode
- Ayush's sites: Radioactive Toy (consulting), Binary Solo (blog)
- Picante recipe (Philip's favorite cocktail we're drinking)
- David Heinemeier Hansson, creator of Ruby on Rails Rails, and his essays Provide Sharp Knives + The One Person Framework
- Ayush's talk Use Turbo Native to make hybrid apps that don't suck
- HEY email
- Ruby on Rails Tutorial by Michael Hartl
- Bridgetown
Get new essays by email.
Keep reading

Welcome to Workshop
Welcome to a new project: a members-only newsletter experiment on Contraption Company called Workshop. So far this year, 98k people have read essays on this site\1\(fn1), and more than 4k subscribe to...

Coding a Booklet AI feature
This morning, I added a new feature to Booklet. I used OpenAI to suggest new posts to write, to make it easier for members to post. It looks like this: Inspired by a podcast I was listening to on the ...

Introducing Workshop
New newsletter about work in progress