Full Draft of the Ruby on Rails Tutorial, 7th Edition

Apr 19, 2022 • posted by Michael Hartl

Michael Hartl here from Learn Enough and the Ruby on Rails Tutorial.

It’s been a while since I last reached out, but that’s not because we’ve been idle. Quite the opposite—we’ve been incredibly busy here at Learn Enough and have a bunch of exciting announcements to make over the next few months.

That includes my current announcement: the immediate availability of a full draft of the 7th edition of the Ruby on Rails Tutorial. For over a decade, the Ruby on Rails Tutorial has been one of the leading introductions to web development, and now it has been updated for the latest version of Rails.

After seven editions, the Rails Tutorial is pretty stable in almost every way, but there are still some great updates in the latest edition:

  • Full compatibility with Rails 7
  • New render status responses for compatibility with Turbo (see below)
  • Improved integration tests with techniques for breaking long minitest tests into smaller pieces using Ruby classes
  • Coverage of the latest (and we hope last!) way to integrate JavaScript with Rails using Importmap (no more NPM, Webpacker, or Yarn!)
  • An introduction to Hotwire and Turbo for building fast and responsive sites rivaling “single-page” JavaScript apps

The first four chapters of the draft are available for free online here. Ebook and video screencasts are also available for purchase:

  • The Rails Tutorial ebook (952 pages, PDF/EPUB/MOBI/HTML): Get the full draft and a free copy of the final version when it’s done. We’re offering a launch/upgrade discount of 20% off through the final launch (planned for next month).
  • The Rails Tutorial ebook/screencast bundle: Get both the ebook and the video screencasts (currently in preparation). We’re offering a launch/upgrade discount of 33% off to make this valuable bundle more affordable. Note: Because the screencasts aren’t finished yet, there’s just a placeholder file for now, but with your purchase you’ll automatically get access to the downloadable video files when they’re done (probably sometime next month).

Edit: As of November 2022, we no longer offer individual purchases of ebooks/videos. Please refer to our Learn Enough page for available purchase options.

I hope you’ll take a look at the draft and let me know what you think. All bug and typo reports, no matter how small, are greatly appreciated. You can send such reports to [email protected]

As always, we offer a 60-day, 100% money-back guarantee on all purchases.


learnenough-news , tutorials