Want to receive a weekly email containing the scoop on our new titles along with the occasional special offer? Just click the button. (You can always unsubscribe later by editing your account information).

Give us an email and a password (you can use the password later to log in and change your preferences). We'll send you a newsletter roughly once a week.

Thanks for signing up. You can always unsubscribe by visiting pragprog.com/my_profile


  • Buy
  • Details
  • Contents/extracts
  • Author!
  • Reviews
  • Discuss
The chart shows the approximate number of words in each chapter of Agile Web Development with Rails per week. The latest numbers are highlighted—mouse over prior weeks to see their figures.

Rails just keeps on changing. Rails 3 and Ruby 1.9 bring hundreds of improvements, including new APIs and substantial performance enhancements. The fourth edition of this award-winning classic has been reorganized and refocused so it’s more useful than ever before for developers new to Ruby and Rails.

Rails 3 is a major release—the changes aren’t just incremental, but structural. So we decided to follow suit. This book isn’t just a mild reworking of the previous edition to make it run with the new Rails. Instead, it’s a complete refactoring.

You’ll still find the Depot example at the front, but you’ll also find testing knitted right in. Gone are the long reference chapters—that’s what the web does best. Instead you’ll find more targeted information on all the aspects of Rails that you’ll need to be a successful Web developer.

Now Updated for Rails 3.2

Rails 3.1 and Rails 3.2 introduce many user-facing changes, and this release has been updated to match all the latest changes and new best practices in Rails 3.1 and Rails 3.2. This includes full support for Ruby 1.9.2 hash syntax; incorporation of the new Sprockets 2.0 Asset Pipeline, including SCSS and CoffeeScript; jQuery now being the default; reversible migrations; JSON response support; Rack::Cache, and much more.

Buy Now

Select a DRM-free Format:

In Stock
In Stock
In Stock
Buy the eBook and get these DRM-free formats delivered immediately:
  • epub (for iPhone/iPad, Android, eReaders)
  • mobi (for Kindle)
  • PDF
We can automatically send them to your Kindle or Dropbox, and for a social reading experience we can link the book to your Readmill account. (You'll need to log in to enable these options.)
 

About this Book

  • 480 pages
  • Published:
  • Release: P3.0 (2012-08-17)
  • ISBN: 978-1-93435-654-8

Ruby on Rails helps you produce high-quality, beautiful-looking web applications quickly. You concentrate on creating the application, and Rails takes care of the details.

Tens of thousands of developers have used this award-winning book to learn Rails. It’s a broad, far-reaching tutorial and reference that’s recommended by the Rails core team. If you’re new to Rails, you’ll get step-by-step guidance. If you’re an experienced developer, this book will give you the comprehensive, insider information you need.

Rails has evolved over the years, and this book has evolved along with it. We still start with a step-by-step walkthrough of building a real application, and in-depth chapters look at the built-in Rails features. This edition now gives new Ruby and Rails users more information on the Ruby language and takes more time to explain key concepts throughout. Best practices on how to apply Rails continue to change, and this edition keeps up. Examples use cookie backed sessions, HTTP authentication, and Active Record-based forms, and the book focuses throughout on the right way to use Rails. Additionally, this edition now reflects Ruby 1.9, a new release of Ruby with substantial functional and performance improvements.

Contents and Extracts

Full Table of Contents

Introduction

  • Getting Started
    • Installing Rails
    • Instant Gratification
    • The Architecture of Rails Applications
    • Introduction to Ruby
  • Building an Application
    • The Depot Application
    • Task A: Creating the Application
    • Task B: Validation and Unit Testing
    • Task C: Catalog Display
    • Task D: Cart Creation
    • Task E: A Smarter Cart
    • Task F: Add a Dash of Ajax
    • Task G: Check Out!
    • Task H: Sending Mail
    • Task I: Logging In
    • Task J: Internationalization
    • Task K: Deployment and Production
    • Depot Retrospective
  • Rails in Depth
    • Finding Your Way Around Rails
    • Active Record
    • Action Dispatch and Action Controller
    • Action View
    • Caching
    • Migrations
    • Non-Browser Applications
    • Rails’ Dependencies
    • Rails Plugins
    • Where to Go From Here

About the Author

Sam Ruby is a prominent software developer who is a co-chair of the W3C HTML Working Group and has made significant contributions to many of the Apache Software Foundation’s open source software projects. He is a Senior Technical Staff Member in the Emerging Technologies Group of IBM.

Dave Thomas, as one of the authors of the Agile Manifesto, understands agility. As the author of Programming Ruby, he understands Ruby. And, as an active Rails developer, he knows Rails.

David Heinemeier Hansson is the creator of the Rails framework.

Upcoming Author Events

  • 2012-11-08: Dave Thomas
    I'll be giving a keynote on the way that features of the Ruby language make it both powerful and fun to use. (RubyWorld conference, Matsue, Japan)
  • 2013-02-20: Dave Thomas
    Full day Advanced Ruby tutorial (RubyConf Australia)
  • 2013-02-21: Dave Thomas
    Keynote (RubyConf Australia)
  • 2013-03-20: Dave Thomas
    Three days, two presenters, one objective—to get you up and running with Rails (Pragmatic Studio, Reston, VA)

Comments and Reviews

  • When I started learning Ruby on Rails, I read the first edition of this book. Its holistic view of the Rails framework and community provides any new developer the kick start they need to a highly successful career. After reading through the latest edition cover to cover, I can happily say that it continues that trend and remains the first book I recommend to any new Rails developer.

    —Mikel Lindsaar Rails core commit team, creator of the Ruby Mail library, and director, RubyX
  • Agile Web Development with Rails does an excellent job of making the Rails environment accessible in an enjoyable and memorable way. In addition, this book is the first I’ve seen that provides a sensible and coherent explanation of the MVC pattern, and it does so in a natural progression using examples that completely remove any mystery.

    —Ken Coar Author, open software evangelist, and Apache developer
  • Agile Web Development with Rails successfully straddles a fine line between being a fun-to-read introduction to Rails (and Ruby) and a straightforward guide to some advanced features of the platform, nicely supplanting the everchanging online documentation.

    —Glen Daniels Independent technologist and consultant
  • I’ve never read a programming book as successful as Agile Web Development with Rails. Sam made learning Ruby on Rails easy, comprehensive, and fun.

    —Keith Ballinger Chairman of WS-I’s first Basic Profile working group; author; and key contributor to the .NET and Visual Studio .NET frameworks

Latest Topics in the Forums…

  • Playtime of chapter 11 (point 5) AJAX PROBLEM
  • Add a dash of ajax
  • test_product_is_not_valid_without_a_unique_title(ProductTest)
  • Could not find table 'line_items'
  • Depot Application SyntaxError
Join the Discussion


gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.