- Series: Addison-Wesley Professional Ruby Series
- Paperback: 768 pages
- Publisher: Addison-Wesley Professional; 2 edition (December 20, 2010)
- Language: English
- ISBN-10: 0321601661
- ISBN-13: 978-0321601667
- Product Dimensions: 7 x 1.6 x 9 inches
- Shipping Weight: 2.5 pounds (View shipping rates and policies)
- Average Customer Review: 20 customer reviews
- Amazon Best Sellers Rank: #1,303,591 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.
The Rails 3 Way (2nd Edition) (Addison-Wesley Professional Ruby Series) 2nd Edition
Use the Amazon App to scan ISBNs and compare prices.
There is a newer edition of this item:
The Amazon Book Review
Author interviews, book reviews, editors picks, and more. Read it now
Frequently bought together
Customers who bought this item also bought
Praise for the Previous Edition
This encyclopedic book is not only a definitive Rails reference, but an indispensable guide to Software-as-a-Service coding techniques for serious craftspersons. I keep a copy in the lab, a copy at home, and a copy on each of my three e-book readers, and it’s on the short list of essential resources for my undergraduate software engineering course.
—Armando Fox, adjunct associate professor, University of California, Berkeley
Everyone interested in Rails, at some point, has to follow The Rails Way.
—Fabio Cevasco, senior technical writer, Siemens AG, and blogger at H3RALD.com
I can positively say that it’s the single best Rails book ever published to date. By a long shot.
—Antonio Cangiano, software engineer and technical evangelist at IBM
This book is a great crash course in Ruby on Rails! It doesn’t just document the features of Rails, it filters everything through the lens of an experienced Rails developer—so you come our a pro on the other side.
—Dirk Elmendorf, co-founder of Rackspace, and Rails developer since 2005
The key to The Rails Way is in the title. It literally covers the “way” to do almost everything with Rails. Writing a truly exhaustive reference to the most popular Web application framework used by thousands of developers is no mean feat. A thankful community of developers that has struggled to rely on scant documentation will embrace The Rails Way with open arms. A tour de force!
—Peter Cooper, editor, Ruby Inside
In the past year, dozens of Rails books have been rushed to publication. A handful are good. Most regurgitate rudimentary information easily found on the Web. Only this book provides both the broad and deep technicalities of Rails. Nascent and expert developers, I recommend you follow The Rails Way.
—Martin Streicher, chief technology officer, McLatchy Interactive; former editor-in-chief of Linux Magazine
Hal Fulton’s The RubyWay has always been by my side as a reference while programming Ruby. Many times I had wished there was a book that had the same depth and attention to detail, only focused on the Rails framework. That book is now here and hasn’t left my desk for the past month.
—Nate Klaiber, Ruby programmer
As noted in my contribution to the Afterword: “What Is the Rails Way (To You)?,” I knew soon after becoming involved with Rails that I had found something great. Now, with Obie’s book, I have been able to step into Ruby on Rails development coming from .NET and be productive right away. The applications I have created I believe to be a much better quality due to the techniques I learned using Obie’s knowledge.
—Robert Bazinet, InfoQ.com, .NET and Ruby community editor, and founding member of the Hartford, CT, Ruby Brigade
Extremely well written; it’s a resource that every Rails programmer should have. Yes, it’s that good.
—Reuven Lerner, Linux Journal columnist
About the Author
Obie Fernandez has been hacking computers since he got his first Commodore VIC-20 in the eighties, and found himself in the right place and time as a programmer on some of the first Java enterprise projects of the mid-nineties. Obie has been evangelizing Ruby on Rails online via blog posts and publications since early 2005. He has traveled around the world relentlessly promoting Rails at large industry conferences. As CEO and Founder of Hashrocket, Obie specializes in orchestrating the creation of large-scale, web-based applications, both for startups and mission-critical enterprise projects. He still gets his hands dirty with code on at least a weekly basis and posts regularly on various topics to his popular technology blog.
Browse award-winning titles. See more
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
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.
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.
My only real criticism is the lack of controller environment vars such as 'cookies', 'headers', 'request' and its sub attributes in the Controllers section. He does mention the some of these vars throughout the book, but it was surprising to thumb to the Controller section and find a list of them missing.
All in all a great add to my collection of Ruby and Rails related books. Another great Rails book in the Addison-Wesley Professional Ruby Series is Rails AntiPatterns: Best Practice Ruby on Rails Refactoring (Addison-Wesley Professional Ruby Series)
I have been reading this book off and on as time permits but don't really need it as much as I needed the previous edition; largely a result of the learning process.
However, I had to pick up this book again this morning because I was struggling with some RSpec tests that I am writing.
The Chapter on RSpec beginning on page 501 and up to page 533 is simply put, "superb". It is clear to me that it is written by someone who has written a lot of tests with RSpec and is current in his knowledge. I found the current version worth it simply for this chapter alone. I also have the Pragmatic Programmer's Rspec cucumber book which is quite nice. But if I am in a hurry to get something done in RSpec, this is where I will go every time.
Most recent customer reviews
There is a fair amount of useful information in the book, though; check it out of the library...Read more