Agile Web Development with Rails (4th edition)
by Sam Ruby
- Buy
- Details
- Contents/extracts
- Author!
- Reviews
- Discuss
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:
- epub (for iPhone/iPad, Android, eReaders)
- mobi (for Kindle)
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
Comments and Reviews
-
—Mikel Lindsaar Rails core commit team, creator of the Ruby Mail library, and director, RubyX
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.
-
—Ken Coar Author, open software evangelist, and Apache developer
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.
-
—Glen Daniels Independent technologist and consultant
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.
-
—Keith Ballinger Chairman of WS-I’s first Basic Profile working group; author; and key contributor to the .NET and Visual Studio .NET frameworks
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.
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