Archive RSS Email

Some Chapter 11 changes

May 12, 2010 • posted by Michael Hartl

In the process of developing the application code for the final chapter, I realized that I wanted to make some changes to Chapter 11: User microposts. In particular, the original chapter used the same partial to render microposts on the user profile pages and on the home page status feed. They really should be different, though, so I've updated Section 11.2 and Section 11.3 to use different partials in each case.

Quite a few listings have changed, including 11.17, 11.19, 11.33, 11.34, and 11.36. In addition, Listing 11.35 is new. If you've already worked through Chapter 11, it's probably a good idea to run through it a second time just to make sure you've got the most up-to-date version of the code. (Given the number of changes, it's also entirely possible I've introduced new errors; please let me know if you find any.)

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.)