Skip to content


Repository files navigation

Ruby Science

The canonical reference for writing fantastic Rails applications from authors who have created hundreds.

You build web applications, and you love Ruby on Rails because it provides a framework for developing applications that are are fast, fun, and easy to change. Over time these applications can become bloated, development slows down, and changes to the codebase become painful.

Ruby Science helps you learn to detect and fix emerging problems in your codebase, while maintaining an application that will be fun to work on for years to come.

This repository includes both the Markdown source files for the book, as well as the companion example Rails application.

Support the book and thoughtbot

A web-based version of the book is available for free. EPUB and PDF versions are available in a "pay what you want" model. You can also sponsor us on GitHub.

Your purchase goes to support the ongoing maintenance of Ruby Science, our blog, and all of our open source projects.

About thoughtbot


Ruby Science is maintained and funded by thoughtbot, inc. The names and logos for thoughtbot are trademarks of thoughtbot, inc.

We love open source software! See our other projects or hire us to design, develop, and grow your product.


The reference for writing fantastic Rails applications




Code of conduct




Sponsor this project



No packages published