To get the free app, enter your email address or mobile phone number.
Ruby for Rails: Ruby Techniques for Rails Developers Paperback – May 11, 2006
Top 20 lists in Books
View the top 20 best sellers of all time, the most reviewed books of all time and some of our editors' favorite picks. Learn more
Frequently Bought Together
Customers Who Bought This Item Also Bought
About the Author
Discover books for all types of engineers, auto enthusiasts, and much more. Learn more
More About the Author
Top Customer Reviews
So, the first book I picked up was the PickAxe book, and read it pretty much from start to finish. It turns into a reference about 2/3 in, but the first part of the book is worth a straight-out read. That book gives you everything you need to get up and running with Rails, and has some brief coverage of the Ruby language, semantics, etc - enough to get you by.
Between that book and some Ruby language-related websites, I could build a decently complex web app. I discovered the various helpers from ActionView and got better at building good models with ActiveRecord, and understood the overall flow of the application. I was hooked on Ruby on Rails.
But, if you're like me, you eventually find some of the mystery frustrating. How does inheritence really work? Why do I see modules in some places and classes in others? How do you you make them aware of one another? When I generate a Rails app, what code is it building and where does it go? How come I can use the logger object in my controller, but my helpers can't see it? How does active record know about my database fields?
The mysteries pile up and you eventually need more, but I found the general purpose Ruby book "Programming Ruby" wasn't sticking with me. It covered a ton of topics I didn't care about, and the ones I did care about I didn't realize I was supposed to, because it wasn't obvious how the Ruby in the book related to Rails.Read more ›
There are four parts to the book. The first part is an introduction which explained how Ruby works, how Rails works, and why it's important for Rails developers to have a good handle on the Ruby programming language. This was more detail than I had gotten in my online reading, and not so much detail that my head blew up immediately. A real plus. Also in the first section, we walked through the beginning of the development process for a simple "music store" web application. This defined a context for the pieces of the Ruby puzzle that were about to be dumped on the table.
The second part of the book really delved into the guts of Ruby programming. It defined objects, variables, classes, instances, constants, modules, methods, inheritance, scope, and control flow techniques. It had been 8 years since I'd done work in Java, and that was my only experience with object oriented programming. Ruby is kind of the same, but not really.
The third part of the book is all about the classes and modules that are built in to Ruby. This is very important stuff, necessary in order to get a feel for what you can do (manipulations and comparisons) with different data types. And there is a lot you can do. This part also describes how arrays, hashes, and regular expressions work in Ruby.Read more ›
I would prefer a book that gets right to the point and highlights what's important or not intuitive. The intro section on MVC is a good example of his repetition. You find yourself thinking you're reading the same sentence several times.
You'll still learn a good amount about Ruby and Rails from this book, but if you've been programming for a while you'll be aggravated by the pace this books introduces the material.
So in short, if you are relatively new to programming, this could be a good book for you. If you are looking for a quick start this may also meet your goal, but it's done in about twice (maybe three times) as many pages as necessary.
Within these pages you will find a solidly paced and effective tutorial of the Ruby programming language. The book speaks to programmers with only a little experience and yet experienced Rubyists will likely learn a few things by the end. I know I did.
The book does a nice job of keeping the material Rails centric. Examples often show a Rails slant, though the concepts are primarily vanilla Ruby. This allows you to learn powerful new techniques that will likely help you in many new areas while staying focused on the current goal.
This book also has the best description of Ruby's "singleton classes" yet put in print. It's probably of value to all Rubyists for that alone.
I highly recommend this title.
Most Recent Customer Reviews
I really enjoy and appreciate The Well-Grounded Rubyist. For any ruby or rails developer, it provides immensely valuable context of why things work the way they work in Ruby. Read morePublished 4 months ago by Jack S.
Such an amazing resource to learn ruby for rails. And just generally ruby. Id say its a rocket launcher of useful information for the ruby layman.Published 5 months ago by besaida reynoso
Not so deep a set of solutions. I have not used much of it. It is not an AWD nor PickAxe but it does have some merits.Published 13 months ago by Michael R. Kruger
I got to chapter 2, and the author expects us to know how to install MYSQL for Rails as if it were extremely straightforward. It is not. Read morePublished on February 2, 2014 by Jimmy
Approaching this book, I wasn't quite sure where the emphasis lay, and who this was aimed at. To be clear then, I recommend this book to an intermediate Ruby programmer, who is... Read morePublished on January 26, 2008 by Thing with a hook
Another review for this book uses the perfect word: Wordy!
The book reads like it was written for, either somebody completely new to programming, or somebody who can't... Read more
This is primarily a book about Ruby, very little Rails content, and certainly nothing at a deep-dive level about Rails.Published on January 8, 2008 by Mike
There are some core books one should have when working with Ruby and Rails. This is one of them. Many reviews have already been written about this book, some good, some not so... Read morePublished on January 5, 2008 by Larry
I am new to rails. Before we can do any exercises or practices that come with the book we need to setup the environment correctly. Read morePublished on November 20, 2007 by K. Tjong