Logo b LEARN ENOUGH
Archive RSS Email
RECENT POSTS

Launch of the 3rd Edition of the Ruby on Rails Tutorial book

Oct 15, 2014 • posted by Michael Hartl

tl;dr: The 3rd Edition of the Ruby on Rails Tutorial book is out, together with early access to the screencasts (currently in preparation). Click here to get an automatic 10% discount on any purchase through the end of October.

I’m pleased to announce the launch of the 3rd Edition of the Ruby on Rails Tutorial book, together with early access to the screencasts (which are currently in preparation). Here are the main product bundles:

As a special launch offer, you can click here to get an automatic 10% discount on any purchase through the end of October.

The full screencast series included with every screencasts purchase, including the completed lessons (currently Lessons 1–4) and immediate access to new lessons as I finish them. I hope to finish the full twelve-lesson screencast series by the end of November.

The 3rd edition of the Ruby on Rails Tutorial has been extensively revised from previous versions. Here are some of the changes:

  1. Use of a standard integrated development environment in the cloud, with a pre-configured workspace specifically tailored to the needs of the Ruby on Rails Tutorial. Use of the custom Cloud9 IDE environment eliminates the installation and configuration overhead encountered in previous editions, while also providing the text editor, terminal window, and filesystem navigation necessary to complete the book’s three example applications.

  2. 100% default stack. The 3rd edition of the Ruby on Rails Tutorial uses the default Rails choices for all relevant technologies, thereby substantially reducing the configuration necessary to get started. The excellent but syntactically heavy RSpec testing framework has been replaced with the default Rails testing stack (MiniTest), making for a much gentler introduction to testing than in previous editions.

  3. Lighter-weight testing approach. The 3rd edition still covers test-driven development (TDD), but uses it more sparingly and judiciously. The more forbidding “wall of tests” sections have been eliminated, with concise and expressive integration tests (usually written after the application code) taking their place.
  4. A completely rewritten chapter on login and authentication. The newly revised Chapter 8 covers all three of the most common login models on the Web: session expiration upon browser close, automatically remembering users, and optionally remembering users with a “remember me” checkbox.
  5. An all-new section on image upload. Chapter 11 now shows how to add pictures to the Twitter-style “microposts” developed in the tutorial’s main sample application. Topics include client- and server-side image validations, automatic image resizing, and using a cloud storage service (Amazon S3) in production.
  6. An all-new chapter on account activation and password resets, including sending email with Rails. The all-new Chapter 10 considerably extends the core sample application by adding account activation (thereby verifying the account’s email address) and allowing users to reset forgotten passwords. In the process, the chapter covers how to send email with Rails, both in development (using the server log) and in production (using SendGrid).

The final chapter list appears as follows (links are to the online version of the book, which as always is available for free):

As a reminder, you can click here to get an automatic 10% discount on any purchase through the end of October.

Discuss this post at Hacker News

Michael-hartl
Michael Hartl

I’m Michael Hartl—author, educator, and entrepreneur. I’m probably best known as the creator of the Ruby on Rails Tutorial, a book and screencast series that together constitute one of the leading introductions to web development. Once called his “favorite book” by Wikipedia founder Jimmy Wales, the Ruby on Rails Tutorial currently has over 150 5-star reviews at Amazon. I’m also (in)famous for creating Tau Day and The Tau Manifesto, which have inspired an international movement dedicated to the proposition that “pi is wrong.” (For example, as a result of The Tau Manifesto, MIT releases their admissions decisions each year at “Tau Time” (6:28 p.m.), and typing tau/2 at Google yields 3.14159…) Finally, I’m a founder of Softcover, a publishing system and sales platform for technical authors, which among other things powers both The Tau Manifesto and the Ruby on Rails Tutorial.

I’m a graduate of Harvard College and have a Ph.D. in Physics from Caltech, where I studied black hole dynamics and was an award-winning instructor in theoretical and computational physics. I’m also an alumnus of Y Combinator, the entrepreneur program that has produced companies such as Dropbox and Airbnb. (Alas, my own Y Combinator startup was neither Dropbox nor Airbnb.)