Customer Review

22 of 23 people found the following review helpful
2.0 out of 5 stars Not a good reference, not a good intro, September 6, 2011
Verified Purchase(What's this?)
This review is from: The Rails 3 Way (2nd Edition) (Addison-Wesley Professional Ruby Series) (Paperback)
Had I written this review after about a month with this book, I would've given it very high marks. However, after several months with it, attempting to us it in a real Rails 3 project, I find it wanting.

It's billed as a reference for Rails 3, and seems intended as something to have dog-eared, by your side, while cranking out a Rails app. In my experience over the last several months, it has been a source of frustration, providing me with little more than introductory information on topics that, sadly, are better covered by the rails guides or in various blog posts.

The section on Active Record, specifically on querying, is very light. It's mostly a printout/summary of some of the methods available, with no substantive examples, or anything close to what might be required in the real world. AREL is barely mentioned; all we get is a link to the github page.

There are two bigger disappointments: testing and AJAX.

The AJAX section is not remotely sufficient to become effective with the rails 3 Unobtrusive JavaScript stuff, and most of this section is spent on RJS, which the book says is not recommend (so why is it there?). The way in which Rails deals with AJAX, and the tools it provides, are very poorly documented in general, and this is the sort of gap you'd expect this book to fill in. Not the case.

Testing: Testing is not even listed in the index. Let me repeat that: Testing is not even listed in the index. There is a chapter on RSpec, which is wholly out of place, most of the chapter just dealing with general RSPec stuff. There is some rails-specific stuff, but overall this is IT for testing. Again, the tools and APIs Rails provides for testing are powerful, but very weakly documented, and this book completely drops the ball on filling in this crucial gap. I find it rich, since the Rails community prides itself on testing. Additionally, it seems inconsistent with other non-Rails-default choices (Test::Unit being the default); HAML is used in all view examples, yet there isn't even a mention of it as being nonstandard, nor is there so much as a SIDEBAR to explain how it works. While I personally think using HAML was a bad choice, if the case is to be made that it's superior; at least throw people a bone so they understand what it is, why it should be used, and how it works.

A big chunk of the book is simply formatted API documentation. This information can be easily found online, and is far easier to search.

Given all of this, I've found that The Rails 3 Way has not ONCE provided me with the answer to an issue I was having building what I believe to be a very simple website. Every time, I've closed the book and searched the web, often finding clear and cogent explanations; the exact things that should be in this book!

A book that touts itself as a reference for advanced Rails development should provide more in-depth explanation of not just how things work, but how to go about discovering advanced features and diagnosing problems.

If you are looking for introductory material, I'd advise against this, and if you are looking for more advanced coverage, again, I cannot recommend this book.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Be the first person to comment on this review.

[Add comment]
Post a comment
To insert a product link use the format: [[ASIN:ASIN product-title]] (What's this?)
Amazon will display this name with all your submissions, including reviews and discussion posts. (Learn more)
Name:
Badge:
This badge will be assigned to you and will appear along with your name.
There was an error. Please try again.
Please see the full guidelines here.

Official Comment

As a representative of this product you can post one Official Comment on this review. It will appear immediately below the review wherever it is displayed.   Learn more
The following name and badge will be shown with this comment:
 (edit name)
After clicking the Post button you will be asked to create your public name, which will be shown with all your contributions.

Is this your product?

If you are the author, artist, manufacturer or an official representative of this product, you can post an Official Comment on this review. It will appear immediately below the review wherever it is displayed.  Learn more
Otherwise, you can still post a regular comment on this review.

Is this your product?

If you are the author, artist, manufacturer or an official representative of this product, you can post an Official Comment on this review. It will appear immediately below the review wherever it is displayed.   Learn more
 
System timed out

We were unable to verify whether you represent the product. Please try again later, or retry now. Otherwise you can post a regular comment.

Since you previously posted an Official Comment, this comment will appear in the comment section below. You also have the option to edit your Official Comment.   Learn more
The maximum number of Official Comments have been posted. This comment will appear in the comment section below.   Learn more
Prompts for sign-in
 


Review Details

Item

Reviewer


Location: Washington, DC United States

Top Reviewer Ranking: 584,751