Ruby on Rails Tutorial (4.0 version 2nd Ed.) Learn Rails by Example Michael Hartl

The Ruby on Rails Tutorial book and screencast series teach you how to develop and deploy real, industrial-strength web applications with Ruby on Rails, the open-source web framework that powers top websites such as Twitter, Hulu, GitHub, and the Yellow Pages. The Ruby on Rails Tutorial book is available for free online and is available for purchase as an ebook (PDF, EPUB, and MOBI formats). The companion screencast series includes 15 individual lessons (including a new Rails 4.0 supplement) totaling more than 15 hours, with one lesson for each chapter of the Ruby on Rails Tutorial book. The best value is the ebook/screencast bundle, which includes the 2nd edition book, the Rails 4.0–compatible version, the 2nd edition screencast series, and the Rails 4.0 supplementary screencasts.


Joining the email list for this book will allow the author to contact you to let you know about special offers and when updates for the book are available.


About the Author

Michael Hartl

Michael Hartl is the author of the Ruby on Rails Tutorial, the leading introduction to web development with Ruby on Rails. His prior experience includes writing and developing RailsSpace, an extremely obsolete Rails tutorial book, and developing Insoshi, a once-popular and now-obsolete social networking platform in Ruby on Rails. In 2011, Michael received a Ruby Hero Award for his contributions to the Ruby community. He is a graduate of Harvard College, has a Ph.D. in Physics from Caltech, and is an alumnus of the Y Combinator entrepreneur program.


  • David Heinemeier Hansson - Founder & CTO, Basecamp; Creator, Ruby on Rails

    Q: What’s the best place to start learning RoR (without previous experience in Ruby)?

    A: and are both good free services.


  • Jimmy Wales - Founder, Wikipedia

    Q: What is Jimmy Wales’s favorite book?

    A: It changes often. At the moment, it’s Ruby on Rails Tutorial by Michael Hartl. :)


  • Derek Sivers - Entrepreneur, programmer

    My former company (CD Baby) was one of the first to loudly switch to Ruby on Rails, and then even more loudly switch back to PHP… This book by Michael Hartl came so highly recommended that I had to try it, and the Ruby on Rails Tutorial is what I used to switch back to Rails again… Though I’ve worked my way through many Rails books, this is the one that finally made me “get” it.

  • Peter Cooper - Ruby Inside

    I got review access to all of the material and can confirm that, yes, these screencasts are awesome… If you basically want to be able to look “over the shoulder” of an experienced Rails developer and see how a Rails development environment is set up and how multiple apps are built, there’s nothing that can beat this. This isn’t a set of “build a blog in 15 minutes” videos—it’s a complete course that could kick off a new career for you with Rails.

  • Alan McCann - COO,

    Michael’s original Ruby on Rails tutorial got me from someone who read Rails books to someone who actually was able to develop basic Rails apps—his teaching methodology somehow got me involved like no other book and allowed me to produce results quickly and gain confidence. The new screencast series got me to a whole other level of understanding.

    Imagine going through the tutorial but having the pro-level developer behind the tutorial giving you a running commentary with tips, tricks, and useful detours—all while contributing to your growth as a Rails developer with a test-driven approach. I’ve always known that understanding how experts think about what they do is the key to learning and mastering something. In this screencast format, Michael was able to go beyond the limitations of the written word and both show and explain his approach to Rails development in an engaging manner.

    If you are early in your days with Rails, just buy this series.

  • Mike Riley - Dr. Dobbs

    Written and presented by theoretical physicist Michael Hartl, Ruby on Rails Tutorial offers a superb introduction to the world of a Rails developer. The Rails Tutorial PDF and complete training video set is an absolutely top-notch package for learning the Rails framework…”

    I can’t emphasize enough how much I enjoyed the Ruby on Rails Tutorial book+video bundle. will no doubt educate legions of beginning and intermediate Rails developers, and will be one of those resources that students who complete the book and video course will refer to often. Because Michael offers the full contents of the book available for free on the website, both the book and videos are sure to become some of the most frequently cited educational references among Rails students. This package will no doubt play a major catalytic role in many Rails technical training and development careers.

    If you have any interest in Rails, you owe it to yourself and your educational investment to obtain this superb package. It will likely be one of the best and most educationally rewarding purchases you will make this year.

  • Mike Long - Software Engineer

    Just finished the outstanding @railstutorial. Probably the best software tutorial I’ve experienced since K&R [The C Programming Language by Kernighan & Ritchie].


  • Daniel Auger - Systems Architect for Minnesota Secretary of State

    For what it’s worth: I had fantastic customer service from @railstutorial today. Buy with confidence my friends.