Programming Books C Java PHP Python Learn more Browse Programming Books
The Rails 3 Way (2nd Edition) and over one million other books are available for Amazon Kindle. Learn more

Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 


or
Sign in to turn on 1-Click ordering
More Buying Choices
Have one to sell? Sell yours here
Start reading The Rails 3 Way on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

The Rails 3 Way (2nd Edition) (Addison-Wesley Professional Ruby Series) [Paperback]

by Obie Fernandez
4.0 out of 5 stars  See all reviews (21 customer reviews)

List Price: $49.99
Price: $28.35 & FREE Shipping on orders over $35. Details
You Save: $21.64 (43%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 12 left in stock (more on the way).
Ships from and sold by Amazon.com. Gift-wrap available.
Want it Monday, April 28? Choose Two-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Formats

Amazon Price New from Used from
Kindle Edition $22.99  
Paperback $28.35  
Sell Us Your Books
Get up to 80% back when you sell us your books, even if you didn't buy them at Amazon. Learn more

Book Description

December 20, 2010 0321601661 978-0321601667 2
The Rails™ 3 Way is a comprehensive resource that digs into the new features in Rails 3 and perhaps more importantly, the rationale behind them.
—Yehuda Katz, Rails Core

The Bible for Ruby on Rails Application Development

 

Ruby on Rails strips complexity from the development process, enabling professional developers to focus on what matters most: delivering business value via clean and maintainable code. The Rails™ 3 Way is the only comprehensive, authoritative guide to delivering production-quality code with Rails 3. Pioneering Rails expert Obie Fernandez and a team of leading experts illuminate the entire Rails 3 API, along with the idioms, design approaches, and libraries that make developing applications with Rails so powerful. Drawing on their unsurpassed experience and track record, they address  the real challenges development teams face, showing how to use Rails 3 to maximize your productivity.

 

Using numerous detailed code examples, the author systematically covers Rails 3 key capabilities and subsystems, making this book a reference that you will turn to again and again. He presents advanced Rails programming techniques that have been proven effective in day-to-day usage on dozens of production Rails systems and offers important insights into behavior-driven development and production considerations such as scalability. Dive deep into the Rails 3 codebase and discover why Rails is designed the way it is—and how to make it do what you want it to do.


This book will help you

  • Learn what’s new in Rails 3
  • Increase your productivity as a web application developer
  • Realize the overall joy in programming with Rails
  • Leverage Rails’ powerful capabilities for building REST-compliant APIs
  • Drive implementation and protect long-term maintainability using RSpec
  • Design and manipulate your domain layer using Active Record
  • Understand and program complex program flows using Action Controller
  • Master sophisticated URL routing concepts
  • Use Ajax techniques via Rails 3 support for unobtrusive JavaScript
  • Learn to extend Rails with popular gems and plugins, and how to write your own
  • Extend Rails with the best third-party plug-ins and write your own
  • Integrate email services into your applications with Action Mailer
  • Improve application responsiveness with background processing
  • Create your own non-Active Record domain classes using Active Model
  • Master Rails’ utility classes and extensions in Active Support

Frequently Bought Together

The Rails 3 Way (2nd Edition) (Addison-Wesley Professional Ruby Series) + Eloquent Ruby (Addison-Wesley Professional Ruby Series) + The Ruby Programming Language
Price for all three: $85.24

Buy the selected items together


Editorial Reviews

Review

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.

Product Details

  • 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: 9 x 7 x 1.5 inches
  • Shipping Weight: 2.5 pounds (View shipping rates and policies)
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (21 customer reviews)
  • Amazon Best Sellers Rank: #375,499 in Books (See Top 100 in Books)

More About the Author

Obie Fernandez is CTO and cofounder of Javelin, producers of the world-famous Lean Startup Machine weekend workshops. He runs a team of geniuses based in Atlanta, Georgia, producing the world's best software for lean startups and enterprises. He is also the series editor of the Addison Wesley Professional Ruby Series and was one of the earliest prominent evangelists for Ruby on Rails.

Prior to Javelin, Obie founded Hashrocket, one of the world's leading Rails-based web design and development consultancies, headquartered in Jacksonville, FL. Prior to Hashrocket, as a senior consultant at ThoughtWorks, Obie specialized in complex custom enterprise software projects. He 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.

Customer Reviews

Most Helpful Customer Reviews
56 of 58 people found the following review helpful
5.0 out of 5 stars A Rails 3.0 reference for experts, but a flawed champ.. December 19, 2010
Format:Paperback
The Rails 3 Way is an interesting book representing a large amount of effort digging into Rails 3. It shares insights and technical knowledge you'd struggle to patch together from blog posts and documentation. It's a very opinionated book and will not be to everyone's taste. For starters, ERb isn't covered at all, instance variables in views are scowled at, and Test::Unit is treated with contempt.

It's not an introductory book in any sense and Obie acknowledges this in his introduction. Obie bills it as a "day-to-day reference for the full-time Rails developer" - a fair description IMHO, but the book feels disjointed in places and has a scattershot approach to what it cares to cover. You need to be clued up to digest this book properly. For an intermediate to expert Rails developer (especially one yet to move to Rails 3) or an expert Rubyist new to Rails, The Rails 3 Way is a useful book that unearths some of the trickier parts of Rails 3 a professional needs to know about. I recommend it - but not as wholeheartedly as the original edition for a number of reasons:

* Parts of the book feel curiously short or scattershot in their coverage. The AJAX on Rails chapter is a mere 16 pages. The RSpec chapter is 33 pages long and provides only an overview (and says as much) though given the recent release of RSpec 2.0 and the new RSpec book, this may be a plus. Rails Engines aren't discussed or covered at all except for a small sidenote that links you to a gist on GitHub. It's not all bad though - some chapters are great, complete guides to a topic, such as Active Record Associations and Advanced Active Record.

* A lot can be gathered from what's not mentioned in the book at all: Capybara, Selenium, Webrat, Searchlogic, SASS, factory_girl..
Read more ›
Was this review helpful to you?
38 of 43 people found the following review helpful
1.0 out of 5 stars Kindle version is unusable June 12, 2011
Format:Kindle Edition|Verified Purchase
I have no issue with the contents of the book, only the Kindle implementation thereof.

Listings and tables are converted to images, and some of those are so small that it is all but impossible to read on the Kindle.

Unfortunately, the Kindle for PC version is even worse, the image rendering is pathetic, to say the least.

I've bought 3 other Kindle books from the Addison-Wesley Professional Ruby Series as well, only Eloquent Ruby and Rails AntiPatterns can be read in their entirety on the Kindle, Service-Orientated Design with Ruby and Rails is as badly delivered as The Rails 3 Way.

At least one can get some of the missing details by looking at the source code repositories for each book, but that is no excuse. If you buy a book (paper copy), surely the expectation is that all pages can be read?
Was this review helpful to you?
20 of 21 people found the following review helpful
2.0 out of 5 stars Not a good reference, not a good intro September 6, 2011
Format:Paperback|Verified Purchase
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.
Read more ›
Comment | 
Was this review helpful to you?
15 of 17 people found the following review helpful
Format:Paperback
The Rails 3 Way is not quite a reference manual, nor is it a tutorial.

Before picking this up, you're probably going to want to have hit your head against something in the framework, or have tried to solve something that the framework doesn't necessarily lend itself well to, or just plain gotten stuck on something. In short, I think that you need a fair amount of context before this book is useful in any way. Not enough, and your eyes will glaze over, too much and it will seem to be restating the obvious without giving you any finer points to chew on.

This book's best audience is probably the intermediate Rails developer who has written some rails applications, has a basic understanding of the RoR framework, but still thinks that much of what happens is "magic".

If this is you, this book has much to offer. It covers all the major pieces of developing with Rails 3 from configuration to AREL to caching to writing your own plugins (and more).

For such a developer, The Rails 3 Way is likely to take you from being a haphazard poke-a-stick-at-it programmer to a deliberate, skillful, productive, and confident RoR developer.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
5.0 out of 5 stars If you are doing Rails, you have this book.
It's THE reference on Rails 3, as well as a master's course in the Rails way. Just like the title says.
Published 9 months ago by jessethebuilder
5.0 out of 5 stars Invaluable insights into Rails
Invaluable insights into Rails with this advanced text. After a month of cramming on Rails with more basic books by Michael Hartl etc, this was the cherry. Read more
Published 10 months ago by Yarin Kessler
4.0 out of 5 stars Nice
Good reference book and easy to follow and find the things that you are looking for in Rails. Really great learning tool.
Published 16 months ago by Christopher Farm
3.0 out of 5 stars Worst Index Ever
I don't think I've _ever_ found anything I've looked for in the index.

There is a fair amount of useful information in the book, though; check it out of the library... Read more
Published 20 months ago by offby1
3.0 out of 5 stars meh, useful if you already know rails I guess
This book feels like a hodge-podge mish-mash of Rails knowledge, riddled with errors and inconsistencies (contradicting itself on opposite-facing pages is not uncommon). Read more
Published 21 months ago by Justin Heck
5.0 out of 5 stars excelent
This book is a must read for everyone who wants to understanding Rails in a deep way. Obie is an excelent writter
Published 23 months ago by Rafael Izidoro
1.0 out of 5 stars Light and Scattered
I've been reading this book for about 2 months now and I am not impressed. It lightly glazes over many important topics. It never seems to explain anything in enough detail. Read more
Published on April 4, 2012 by Eric C. Jones
3.0 out of 5 stars Struggles to compete with online resources
I bought this because I'd heard it was the 'bible' for Rails development. At around 700 pages it's not a light read: some of it I found useful, but much of it covers ground... Read more
Published on February 4, 2012 by P. Cherryl
5.0 out of 5 stars Excellent Resource
I have loved reading this book. While I do not believe it to be the only book a Rails developer should have, it is a great one to add to the collection hether you are a beginner... Read more
Published on December 29, 2011 by Cody B.
5.0 out of 5 stars For Real Programmers, This is the Best Rails Book
I recently switched from Java to Ruby on Rails for my latest web app. There's a big difference between the langauges and with java frameworks. Read more
Published on September 11, 2011 by Gabriel Black
Search Customer Reviews
Only search this product's reviews
ARRAY(0xa3693198)


Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



Look for Similar Items by Category