The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
Kick off your book project in 2 hours! Live workshop on Zoom. You’ll leave with a real book project, progress on your first chapter, and a clear plan to keep going. Tuesday, June 16, 2026. Learn more…
This book is no longer available for sale.
Iconic best-seller The Rails Way returns in a brand new edition, fully updated to the latest and greatest Ruby on Rails: Version 5.1, with every chapter fully revised for usefulness and accuracy. Note that this edition features comprehensive coverage of API Mode, Turbolinks 5 and ActionCable.
About the Book
The Rails™ 5 Way is the only comprehensive, authoritative guide to delivering production-quality code with Rails 5.1...
Pioneering Rails expert Obie Fernandez and a team of leading Rails experts illuminate the entire set of Rails APIs, along with the idioms, design approaches, and libraries that make developing applications with Rails so powerful. Drawing on their unsurpassed experience and track record, they address the real challenges development teams face, showing how to use Rails to maximize your productivity.
Using numerous detailed code examples, the author systematically cover Rails key capabilities and subsystems, making this book a reference that you depend on everyday. He presents advanced Rails programming techniques that have been proven effective in day-to-day usage on dozens of production Rails systems and offers important insights into behavior-driven development and production considerations such as scalability. Dive deep into the subtleties of the asset pipeline and other advanced Rails topics such as security and scalability. The Rails 5 Way is your best guide for making Rails do exactly what you want it to do.
About the Author
The "one and only" Obie Fernandez is an avid writer and technology enthusiast, in addition to achieving worldwide success as an electronic music producer and touring DJ. He is a Principal Engineer at Shopify and boasts a legendary 30 year career in software development and entrepreneurship.
Obie has been CTO and co-founder of many startups including Mark Zuckerberg's beloved Andela and Trevor Owen's Lean Startup Machine. His published books include Patterns of Application Development Using AI many editions of The Rails Way and the acclaimed business title The Lean Enterprise. He also founded one of the world's best known Ruby on Rails web design and development agencies, Hashrocket and served for many years as the series editor for Addison-Wesley's Professional Ruby Series.
On the rare occasion when Obie is not busy building products, consulting clients or writing books, you can find him behind the lens of his camera or DJing in the dust at Burning Man.
Follow @obie on Twitter or email him at obiefernandez@gmail.com

Episode 24
An Interview with Obie Fernandez
Also by the Author
The Web Entrepreneurs Bible
How to Eat Nachos and Influence People
The Rails 4 Way
The Lean Enterprise
The Lean Enterprise
Programación para Niños
El Libro Principiante de Node
Patterns of Rails Application Architecture
Serverless
Modern Agility
XML The Rails Way
Mastering The Rails Way
Testing The Rails Way
The Rails 7 Way
The Rails 8 Way
Rails Way: ActiveRecord Deep Dive

Building Progressive Web Apps with Rails
Patterns of Application Development Using AI
AI によるアプリケーション開発パターン (日本語版)
Muster der Anwendungsentwicklung mit KI (Deutsche Ausgabe)
Patrons de Développement d'Applications Utilisant l'IA (Édition Française)
Patrones de Desarrollo de Aplicaciones Usando IA (Edición en Español)
Pattern di Sviluppo di Applicazioni con l'IA (Edizione Italiana)
Patterns of Application Development Using AI (简体中文版)
Padrões de Desenvolvimento de Aplicações Usando IA (Edição em Português do Brasil)
使用人工智慧的應用程式開發模式(繁體中文版)
Wzorce Wytwarzania Aplikacji z Wykorzystaniem SI (Polskie Wydanie)
AI를 활용한 애플리케이션 개발 패턴 (한국어판)
Patronen voor Applicatieontwikkeling met AI (Nederlandse Editie)
YZ ile Uygulama Geliştirme Kalıpları (Türkçe Baskı)
Mönster för Applikationsutveckling med AI (Svensk Utgåva)
AI Segítségével Történő Alkalmazásfejlesztési Minták (Magyar Kiadás)
Pola Pengembangan Aplikasi Menggunakan AI (Edisi Bahasa Indonesia)
รูปแบบการพัฒนาแอปพลิเคชันด้วยปัญญาประดิษฐ์ (ฉบับภาษาไทย)
Vzory vývoje aplikací s využitím UI (České Vydání)
Obrasci Razvoja Aplikacija Korištenjem UI (Bosnian Edition)
ਏ.ਆਈ. ਦੀ ਵਰਤੋਂ ਨਾਲ ਐਪਲੀਕੇਸ਼ਨ ਵਿਕਾਸ ਦੇ ਨਮੂਨੇ (ਪੰਜਾਬੀ ਸੰਸਕਰਣ)
Патерни Розробки Застосунків із Використанням ШІ (Українське Видання)
Tipare în dezvoltarea aplicațiilor folosind IA (Romanian Edition)
أنماط تطوير التطبيقات باستخدام الذكاء الاصطناعي (النسخة العربية)
Obrasci razvoja aplikacija korišćenjem AI (Izdanje na Srpskom)
Mønstre for Applikasjonsutvikling med KI (Norsk Utgave)
Mẫu Hình Phát Triển Ứng Dụng Sử Dụng AI (Phiên Bản Tiếng Việt)
Mønstre i Applikationsudvikling med AI (Dansk Udgave)
एआई का उपयोग करके एप्लिकेशन विकास के पैटर्न (हिंदी संस्करण)
Obrasci razvoja aplikacija korištenjem AI-ja (Hrvatsko Izdanje)
Πρότυπα Ανάπτυξης Εφαρμογών με ΤΝ (Έκδοση στα Ελληνικά)
Padrões de Desenvolvimento de Aplicações Usando IA (Edição em Português)
דפוסי פיתוח יישומים באמצעות בינה מלאכותית (מהדורה עברית)
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.
Learn more about writing on Leanpub
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.