Archive RSS Email

Rails Tutorial for Rails 4.0 final

Jun 25, 2013 • posted by Michael Hartl

I’ve updated the Ruby on Rails Tutorial book to use the recently released Rails 4.0 final. I’ll give people a chance to look at it for a week or two and then switch it over to the default at railstutorial.org. I also plan to produce a supplementary screencast on Rails 4.0, updating the book’s sample app and covering some of the relevant diffs with Rails 3.2.

Within a few weeks, I expect to release the supplementary screencast and ebook of the 4.0 version as a standalone product, available at a large discount to current customers. Once I feel the changes in Rails justify the effort (probably later this year), I plan to produce a full new 3rd edition and a new screencast series. These will also be available at a discount to current customers.

The full 3rd edition will include everything in the current version, as well as some optional updates to the RSpec syntax for integration tests and probably some coverage of Turbolinks and Russian-doll caching. I also anticipate there being a new Rails release or two before then, presumably bringing some additional changes.

It’s worth bearing in mind that the purpose of the Rails Tutorial is to teach web development with Rails, not principally to keep people up-to-date on the latest Rails techniques. In the context of an introductory tutorial, the differences between Rails 3.2 and Rails 4.0 are minor. If you are already an experienced Rails developer and want to keep up with latest techniques in Rails, I recommend Ryan Bates’s RailsCasts.

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