- Series: Addison-Wesley Professional Ruby
- Paperback: 744 pages
- Publisher: Addison-Wesley Professional; 3 edition (May 9, 2015)
- Language: English
- ISBN-10: 0134077709
- ISBN-13: 978-0134077703
- Product Dimensions: 6.9 x 1.7 x 9.1 inches
- Shipping Weight: 2.6 pounds (View shipping rates and policies)
- Average Customer Review: 200 customer reviews
- Amazon Best Sellers Rank: #427,626 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Ruby on Rails Tutorial: Learn Web Development with Rails (3rd Edition) (Addison-Wesley Professional Ruby) 3rd Edition
Use the Amazon App to scan ISBNs and compare prices.
There is a newer edition of this item:
All Books, All the Time
Read author interviews, book reviews, editors picks, and more at the Amazon Book Review. Read it now
Frequently bought together
Customers who bought this item also bought
Praise for Michael Hartl’s Books and Videos on Ruby on Rails
“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 (Google me to read about the drama). 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.”
—From the Foreword by Derek Sivers (sivers.org)
Formerly: founder of CD Baby
Currently: founder of Thoughts Ltd.
“Michael Hartl’s Rails Tutorial book is the #1 (and only, in my opinion) place to start when it comes to books about learning Rails. . . . It’s an amazing piece of work and, unusually, walks you through building a Rails app from start to finish with testing. If you want to read just one book and feel like a Rails master by the end of it, pick the Ruby on Rails™ Tutorial.”
—Peter Cooper, editor, Ruby Inside
“For the self-motivated reader who responds well to the ‘learn by doing’ method and is prepared to put in the effort, then this comes highly recommended.”
—Ian Elliot, reviewer, I Programmer
“Ruby on Rails™ Tutorial is a lot of work but if you’re careful and patient, you’ll learn a lot.”
—Jason Shen, tech entrepreneur, blogger at The Art of Ass-Kicking
—Mattan Griffel, co-founder & CEO of One Month
“Although I’m a Python/Django developer by trade, I can’t stress enough how much this book has helped me. As an undergraduate, completely detached from industry, this book showed me how to use version control, how to write tests, and, most importantly—despite the steep learning curve for setting up and getting stuff running—how the end-result of perseverance is extremely gratifying. It made me fall in love with technology all over again. This is the book I direct all my friends to who want to start learning programming/building stuff. Thank you Michael!”
—Prakhar Srivastav, software engineer, Xcite.com, Kuwait
“It doesn’t matter what you think you will be developing with in the future or what the framework du jour is; if you want to learn how to build something, there is no better place to start than with this tutorial. And for all the ‘non-technical’ people out there who want to see their ideas come to life, who are considering hiring contractors, paying for a class, or ‘founder dating’ in the search for a technical co-founder: stop. Take a step back. Forget about your idea for a short while and immerse yourself in this tutorial to learn what it takes to put something together. You and your software-related projects will be better for it.”
—Vincent C., entrepreneur and developer
“It has to be the best-written book of its type I’ve ever seen, and I can’t recommend it enough.”
—Daniel Hollands, administrator of Birmingham.IO
“For those wanting to learn Ruby on Rails, Hartl’s Ruby on Rails™ Tutorial is (in my opinion) the best way to do it.”
—David Young, software developer and author at deepinthecode.com
“This is a great tutorial for a lot of reasons, because aside from just teaching Rails, Hartl is also teaching good development practices.”
—Michael Denomy, full-stack web developer
“Without a doubt, the best way I learned Ruby on Rails was by building an actual working app. I used Michael Hartl’s Ruby on Rails™ Tutorial, which showed me how to get a very basic Twitter-like app up and running from scratch. I cannot recommend this tutorial enough; getting something up and going fast was key; it beats memorization by a mile.”
—James Fend, serial entrepreneur, JamesFend.com
“The book gives you the theory and practice, while the videos focus on showing you in person how it’s done. Highly recommended combo.”
—Antonio Cangiano, software engineer, IBM
“The author is clearly an expert at the Ruby language and the Rails framework, but more than that, he is a working software engineer who introduces best practices throughout the text.”
—Greg Charles, senior software developer, Fairway Technologies
“Overall, [Hartl’s] video tutorials should be a great resource for anyone new to Rails.”
—Michael Morin, ruby.about.com
“Hands-down, I would recommend this book to anyone wanting to get into Ruby on Rails development.”
—Michael Crump, Microsoft MVP
About the Author
Michael Hartl is a best-selling author and the founder of the Softcover self-publishing platform. 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.
Top customer reviews
It's not only that, but there's repetition of best practice. I've read other books that show you the best practice once and never show it again. Hartl, I think, assumes many of the tutorial's readers have little coding experience, so reinforces the best practice by repeating the instructions of a good practice, rather than just referencing the good practice as a beginner I probably don't remember. Some of these instructions are now drilled in my mind that I can't forget them.
The approach of learning the app building process as the priority over learning the syntax of Rails clicks with me (to be clear, the book does discuss the code quite a bit, but teaching syntax is not the main strategy of the tutorial). While this approach left me a little hazy on the actual language of the Rails framework, it's given me the experience of knowing what I need to look for and learn for myself and make some sense of Rails resources online. It's given me a blueprint of what I should be figuring out when I make my own Rails app.
By the way, I didn't buy the print edition here. I bought the electronic version from rails tutorial site which is identical.
Here's my story: I have been a teacher for ten years. Before that,I managed big media projects and ran a start-up back in the .com boom. I've never programmed. I've built web sites in Dreamweaver, done some Flash, used Wordpress quite extensively and am pretty good at the Adobe Suite (which I teach). But I have NEVER written code, per se.
My wife, a college professor, had this brilliant idea: we need to make more money (to pay for a big mortgage, cars, stuff) which could be roughly translated into "you need to make more money."
OK, I'm 62 years old and don't think I'm going to find yet another career. But my wife read an article in the NY Times about the need for coders and that age wasn't really a factor. OK, but "why me?" I asked. "Why not you?" "Because you understand all of this tech stuff," my wife said. OK, she's been right before about my career, I'll give it a try. But where to start.
I called my friend and neighbor, a CalTech computer science grad who owns a small (14 employees) computer consulting business and invited him to lunch. Of course I brought my career coach (my wife) with me. My buddy, the CalTech guy said that, yes, there is lots of opportunity for coders and went on to say that he thought there was even more opportunity for someone with my tech management experience. So, I was hooked on the idea, too.
But how to begin? What languages should I learn? Do I need a bootcamp intensive?I can't do that without knowing if it's something I can do. My friend told me that his company does most of their work with Ruby on Rails and Angular JS. He said that they just hired two new programmers. But they don't hire programmers. They hire math and science grads and give them Michael Hartl's "Ruby on Rails Tutorial" and let them have at it.
So, I got the tutorial and the videos and started. And I love it. Not saying I'm going to become a programmer or anything but the lessons are simple, well laid out and Michael explains everything in great detail, including how to set up the development environment on Cloud 9 so you are actually building real applications that you test and launch into a real production environment.
I'm about half way through the 12 chapter tutorial now. I find it challenging -- and frustrating at times -- but always engaging. Getting it to work is the real challenge but I find myself going over chapters several times until I figure out where my mistake was. It's a huge puzzle waiting to be solved.
I also utilize Michael's "universal algorithm" for solving problems which is "Google the error message." I found with this that there seems to be a critical mass of Michael Hartl devotees out there. Every time I google an error message, I find answers from others who are working on the same chapter in the tutorial that I am.
The other thing I really like about how Michael has set this up is that the online version of the book is always current and he also has current code snippets set up on his website. So, for example, Michael may have done the videos with Ruby on Rails 4.0.0 but all of the current code for the latest version (I'm on 4.2.2) is up on his site. This really helps. One wrong character can make the difference between getting it to work and not.
As I said, I teach classes in Photoshop, Illustrator, InDesign, Dreamweaver, etc for a college extension. I find that the adult students who come to my classes have already tried online tutorials and books but they get stuck and they quit. When they get stuck, there's no one to guide them. And they don't yet know enough to find the solutions themselves.
I find myself facing the same issues learning Ruby on Rails. But Michael has figured out a way to guide you step by step without having someone to help you. Yes, it would be great to have Michael or another great teacher waiting in the wings to get me over the humps. But I also find that I'm learning a lot solving problems with the "universal algorithm."
Another nice thing about starting to learn Ruby on Rails with this book is that I didn't need to commit a huge amount of money and time to get started. What if I didn't like programming and committed $15,000 and 12 weeks to something I couldn't stand? This was an easy, cheap way to get my feet wet, to see if it's something I liked. And, so far, I do!