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.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.

Ruby on Rails 3 Tutorial: Learn Rails by Example (Addison-Wesley Professional Ruby) 1st Edition

4.3 out of 5 stars 78 customer reviews
ISBN-13: 978-0321743121
ISBN-10: 0321743121
Why is ISBN important?
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Have one to sell? Sell on Amazon
Buy used
Condition: Used: Very Good
Comment: In very good condition. Clean stiff cover, pages are crisp, clean and tear free. 100% satisfaction guarantee! Qualifies for Prime and Super Saver shipping, 100% satisfaction Guaranteed!
Access codes and supplements are not guaranteed with used items.
53 Used from $0.01
FREE Shipping on orders over $25.
More Buying Choices
14 New from $7.25 53 Used from $0.01

Windows 10 For Dummies Video Training
Get up to speed with Windows 10 with this video training course from For Dummies. Learn more.
click to open popover

Editorial Reviews


RailsTutorial.org: Michael Hartl’s awesome new Rails Tutorial

The Ruby on Rails3 Tutorial: Learn Rails by Example by Michael Hartl has become a must read for developers learning how to build Rails apps.

—Peter Cooper, editor of Ruby Inside


Very detailed and hands-on Rails Tutorial!

Great job! I’m learning Rails, and found your tutorial to be one of the most detailed and hands-on guides. Besides many details of Rails, it also taught me about Git, Heroku, RSpec, Webrat, and most important (at least to me), it emphasized the Test-Driven Development (TDD) methodology. I learned a lot from your tutorial. Keep up the good job! Thanks so much for sharing it.

—Albert Liu, senior manager, Achievo Corporation.


Ruby on Rails Tutorial is the best!

Just wanted to say that your Ruby on Rails tutorial is the best! I’ve been trying for a while to wrap my head around Rails. Going through your tutorial, I’m finally feeling comfortable in the Rails environment. Your pedagogical style of gradually introducing more complex topics while at the same time giving the reader the instant gratification and a sense of accomplishment with working examples really works for me. I also like the tips and suggestions that give me a sense of learning from a real Rails insider. Your e-mail response to a problem I ran into is an example of your generous sharing of your experience.

—Ron Bingham, CEO, SounDBuytz


I love the writing style of the Rails Tutorial

I love the writing style of the Rails Tutorial, and there is so much content that is different from other Rails books out there, making it that much more valuable...Thanks for your work!

—Allen Ding

About the Author

Michael Hartl is a programmer, educator, and entrepreneur. He coauthored RailsSpace (Addison-Wesley, 2008), and was cofounder and lead developer of Insoshi, a popular social networking platform based on Rails. He previously taught theoretical and computational physics at the California Institute of Technology, earning the Caltech Lifetime Achievement Award for Excellence in Teaching. Michael is a graduate of Harvard College, holds a Ph.D. in physics from Caltech, and is an alumnus of the Y Combinator entrepreneur program. He maintains the Rails Tutorial website at railstutorial.org.

The latest book club pick from Oprah
"The Underground Railroad" by Colson Whitehead is a magnificent novel chronicling a young slave's adventures as she makes a desperate bid for freedom in the antebellum South. See more

Product Details

  • Series: Addison-Wesley Professional Ruby
  • Paperback: 576 pages
  • Publisher: Addison-Wesley Professional; 1 edition (December 26, 2010)
  • Language: English
  • ISBN-10: 0321743121
  • ISBN-13: 978-0321743121
  • Product Dimensions: 7 x 1.1 x 9 inches
  • Shipping Weight: 2 pounds
  • Average Customer Review: 4.3 out of 5 stars  See all reviews (78 customer reviews)
  • Amazon Best Sellers Rank: #879,336 in Books (See Top 100 in Books)

Customer Reviews

Top Customer Reviews

Format: Paperback Verified Purchase
There are as many rails tutorials on the web and in book form as there are ruby methods. An infinite expanse of information - most of it leading to heartbreak and frustration.

Hartl, with this book as well as the first venture, takes the reader by the hand and gently guides him/her/it/them/monkeybacon through the world of ruby and ruby on rails with the excitement and ease a master has when taking students along for a ride.

I have a collection of books and tutorials and, WITHOUT FAIL, each and every one of them ends somewhere with some sort of mistake in code that I've never been able to get over (including the first book by Hartl, by the way). Not so with this one. I completed the project outlined in this book. First time that's happened with any of the other books/tutorials.

As I am a functioning idiot, this is no mean feat. It is quite an accomplishment. Not by me, but by the author.

If you are able to view the tutorial videos, those will make your life that much better.

Buy it. Now.
7 Comments 70 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Kindle Edition Verified Purchase
This is an exceptionally well-written tutorial, probably the best way to learn Ruby on Rails. The Kindle version, however, is very poorly done. Code listings are shown as images on the Kindle -- with small grey font which is very difficult to read even when zoomed-in. Furthermore, text search does not include the code listings and command examples. For example, I needed to find an explanation of the command "rake db:test:prepare" but got back "0 matches found".

Though the Kindle edition is awful, the excellent content is accessible on web pages for free at [...]. There, one can also purchase a (fully searchable) PDF version directly from the author.

I don't know whether it's Amazon's or the publisher's fault, but the Kindle edition of this book is a complete waste of money.
7 Comments 56 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
This book will most likely overwhelm a beginner. Don't get me wrong the author knows his stuff and is a good teacher but you have to wrap your head around so many other technologies. Git, Rspec, Test Driven development was just too much for me to take in all at one time.

In my opinion those are advanced topics that should be introduced at the end of the book or in another book. My personal belief is you should lay a solid foundation by just learning the basics of Ruby on Rails first and then learn all the extras like Git and Rspec which is icing on the cake. Ruby on Rails = The Cake. Git, Rspec, Test Driven Development = The Icing.

Once you have a solid knowledge of Ruby on Rails then you can learn how to use Git for version control and Rspec for Test Driven Development. I think a good place to start with just learning the basics of Ruby on Rails is Kevin Skoglund's Rails 3 tutorial on Lynda.com. After following his tutorial you should have a solid basic foundation and then you'll be ready for Michael Hartl's book. All that being said Michael Hartl's book is very good but might be a little too much on the plate for beginners.
Comment 20 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
Arriving at Rails after a career in finance, it was especially important for me to find a book that took a holistic approach to developing Rails applications. Mr. Hartl's book does an exceptional job of addressing both the structure and function of Ruby on Rails, as well as the most modern methodologies for developing web applications. Without this book, a novice web programmer like myself likely would have missed learning test-driven development (TDD), which is critically interfaced with producing robust applications.

Mr. Hartl has also put together an outstanding series of screencasts, comprising over 15-hours of video, providing an inside look into an advanced user's coding process. The screencasts pay dividends well above their investment of time and money.

A cursory examination of Mr. Hartl's resume, including his teaching awards in physics at Caltech, will evidence his great talent for simplifying the complex. Having explored this book among a half-dozen of its peers, I can attest that it is indeed best-in-class.
Comment 18 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
While there are tons of other RoR tutorials out there, they all usually reach a point where the gently increasing learning curve suddenly goes vertical. Not so with this book.

The author doesn't make things overly complicated, makes it clear when you need to be aware of new concepts and when not to worry (because it'll be covered later), and while this book does follow the traditional "develop an app while learning" method, it does so while introducing you to tools and techniques that Rails developers use in the real world. Before you know it, you'll be creating new git repos, pushing them to Github, creating branches for new developments and using test driven development (with tools like Rspec) to test your new code. If most of that went over your head *and* you want to learn Rails, you *need* this book.

Interestingly, he demonstrates how you can create working Rails apps with a minimal knowledge of Ruby - which kills the assumption that Rails neophytes need to have a strong grasp of the Ruby language before tackling Rails development.

Combined with 15+ hours of video lessons complementing each chapter of the book, this makes for an essential tool in the arsenal of any aspiring Rails developer.
Comment 16 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Most Recent Customer Reviews