Rails 3 Way, The and over one million other books are available for Amazon Kindle. Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Kindle Edition
 
   
Sell Back Your Copy
For a $10.00 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Rails 3 Way, The (2nd Edition) (Addison-Wesley Professional Ruby Series)
 
 
Start reading Rails 3 Way, The on your Kindle in under a minute.

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

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

Obie Fernandez (Author)
4.0 out of 5 stars  See all reviews (15 customer reviews)

List Price: $49.99
Price: $28.56 & this item ships for FREE with Super Saver Shipping. Details
You Save: $21.43 (43%)
  Special Offers Available
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
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Tuesday, May 29? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $18.00  
Paperback $28.56  
Sell Back Your Copy for $10.00
Whether you bought it on Amazon or somewhere else, you can sell it back through our Book Trade-In Program at the current price of $10.00.
Used Price$21.99
Trade-in Price$10.00
Price after
Trade-in
$11.99

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

Check Out Related Media



Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $2 in Amazon MP3 Credit. Here's how (restrictions apply)

Best Value

Buy Rails 3 Way, The (2nd Edition) (Addison-Wesley Professional Ruby Series) and get Ruby on Rails Tutorial: Learn Web Development with Rails (2nd Edition) at an additional 5% off Amazon.com's everyday low price.

Rails 3 Way, The (2nd Edition) (Addison-Wesley Professional Ruby Series) + Ruby on Rails Tutorial: Learn Web Development with Rails (2nd Edition)
Buy Together Today: $53.08

One of these items ships sooner than the other. Show details

  • This item: Rails 3 Way, The (2nd Edition) (Addison-Wesley Professional Ruby Series)

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Ruby on Rails Tutorial: Learn Web Development with Rails (2nd Edition)

    This title has not yet been released.
    You may pre-order it now and we will deliver it to you when it arrives.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details



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

  • 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.1 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 (15 customer reviews)
  • Amazon Best Sellers Rank: #41,610 in Books (See Top 100 in Books)

More About the Author

Obie Fernandez is Founder and CEO of Hashrocket, one of the world's leading Rails-based web design and development consultancies, headquartered in Jacksonville, FL. He is a widely recognized technology leader and frequent speaker at industry events and is Addison Wesley's Series Editor for the bestselling Professional Ruby Series. 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.

Currently, Obie is juggling a hectic travel schedule with part-time residency in Chicago and Jacksonville Beach. He's working on two new book projects. The first is a guide for web entrepreneurs and the other involves career growth advice for aspiring web programmers.

Customer Reviews

Most Helpful Customer Reviews
40 of 42 people found the following review helpful
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.. It wouldn't be expected for a book like The Rails 3 Way to go into depth with any of these tools but having no mentions of them when related issues are raised feels like a missed opportunity to give people some guidance. The lack of Webrat is bizarre since the only full integration test shown in the book clearly uses it. Webrat is neither mentioned nor explained. Nor is Capybara, Webrat's heir apparent.

* The concept of using a different ORM than ActiveRecord is mentioned only once, in the context of running --skip-migration on a rails generate in order to prevent ActiveRecord migrations being generated. Considering what a big deal ORM agnosticism was when developing Rails 3, this is a disappointment.

* Concepts are sometimes used in code but not mentioned in the text. In the RSpec chapter, for instance, the first example includes a call to factory_girl's Factory method, yet nothing about factory_girl or the benefits of factories is covered. I only know it's factory_girl being called because the gem's name appears in the copy-and-pasted output from running bundle install 500 pages earlier.

* Tests are rarely used or demonstrated except in the RSpec overview, Working With Active Record (4 test snippets in 39 pages), Action Mailer (once), and Active Record Associations (6 test snippets in 50 pages). Oddly, though, 4 stray instances of using Test::Unit instead pop up when writing a test for a belongs_to association - it's never used again anywhere else in the main part of the book..

Nonetheless, I recommend the book. It's a flawed champ. While there are other great Rails books in the pipeline, The Rails 3 Way offers a lot right now, as long as you're either happy to look past its flaws or skilled enough to mentally fill in the blanks..
Was this review helpful to you?
25 of 27 people found the following review helpful
Format:Kindle Edition|Amazon 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?
7 of 7 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
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 1 month ago by Eric C. Jones
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 3 months ago by P. Cherryl
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 4 months ago by C. Braddock
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 8 months ago by Gabriel Black
Not a good reference, not a good intro
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... Read more
Published 8 months ago by David Copeland
Great Reference
Like the title suggest, a great Rails 3 reference book that sits next to my monitor for quick access. Obie goes further than the most guides available online. Read more
Published 9 months ago by Phillip R. Miller
Great
I won this book in a raffle at an "SD Ruby" meeting. Be warned: the book has nothing to do with 3-ways, but that's okay, it's still a great book! Read more
Published 10 months ago by Ryan Kulla
Complete rails reference
If you want to know details about how Rails make its magic, this is a Book you have to read. Other books are about how to make "X" thing in Rails, but this one is about how Rails... Read more
Published 11 months ago by eveevans
Excellent RSpec coverage
I have the Rails 2 version of this book and I also bought the Rails 3 way. So I can understand Peter Cooper's comments, what are mostly on target. Read more
Published 11 months ago by Bharat C. Ruparel
Well worth it for any Rails developer
Let me be clear about something - I am an extremely busy person and I write reviews for two reasons: if a product is horrible and should not be purchased or if it is stellar and... Read more
Published 11 months ago by Kyle Zarazan
Search Customer Reviews
Only search this product's reviews

Inside This Book (learn more)
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(1)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject