Synopses & Reviews
Rails 3 in Action is a collaboration between Rails community leaders, Ryan Bigg and Yehuda Katz, that covers Rails 3.1 making it the most up-to-date resource available. But it's much more than just a Rails 3 reference book. You'll learn to do Rails the right way, so you can build stable, scalable, and maintainable apps that will satisfy even the most demanding clients. About the Book
Rails 3 is a full stack, open source web framework powered by Ruby and this book is an introduction to it. Whether you're just starting or you have a few cycles under your belt, you'll appreciate the book's guru's-eye-view of idiomatic Rails programming.
You'll master Rails 3.1 by developing a ticket tracking application that includes RESTful routing, authentication and authorization, state maintenance, file uploads, email, and more. You'll also explore powerful features like designing your own APIs and building a Rails engine. You will see Test Driven Development and Behavior Driven Development in action throughout the book, just like you would in a top Rails shop.
It is helpful for readers to have a background in Ruby, but no prior Rails experience is needed.
Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book. What's Inside
- Covers Rails 3.1 from the ground up
- Testing and BDD using RSpec and Cucumber
- Working with Rack
Table of Contents
- Ruby on Rails, the framework
- Testing saves your bacon
- Developing a real Rails application
- Oh CRUD!
- Nested resources
- Authentication and basic authorization
- Basic access control
- More authorization
- File uploading
- Tracking state
- Sending email
- Designing an API
- Alternative authentication
- Basic performance enhancements
- Rack-based applications
Rails makes getting an application up and running easy, but how can a developer ensure that it continues to function well? The answer is Test and Behavior-Driven Development. These Agile approaches, combined with the advantages of the latest software version, make Rails 3 a powerful development framework.
Rails 3 in Action covers developing a Rails 3.0 application from the ground-up using the industry's best practices in an Agile development fashion, tackling one feature at a time in order to build a solid, maintainable and scalable application. A comprehensive and hands-on guide, the authors show readers how to get the most out of Rails, including tips on leveraging the treasure-trove of community-provided code available.
Rails 3 in Action takes you on a journey developing a Rails application in the real world, one step at a time. This collaboration between Rails community leaders Ryan Bigg and Yehuda Katz book covers Rails 3.1 so it's the most up-to-date resource available. But it's much more than just a Rails 3 reference book. You'll learn to do Rails the right way so you can build stable, scalable, and maintainable apps that will satisfy even the most demanding clients.
Rails 3 in Action introduces the core concepts and techniques of Ruby on Rails by developing an application and demonstrating how it works. If you're a beginner, you'll catch on quick. If you have a few cycles under your belt already, you'll appreciate seeing this gurus-eye-view of Rails basics. Early on you begin delving into two core principles: Test Driven Development (TDD) and Behavior Driven Development (BDD). You'll apply these practices throughout the book, just like you would in the top Rails shops worldwide.
You'll explore Rails 3 by developing a ticket tracking application that includes:
- RESTful routing
- Authentication & Authorization Systems
- Using RSpec & Cucumber
- The basics of a maintainable Rails application
There's more than that though! You'll also tackle more advanced issues.
- Chapter 16 begins the departure from the application development and moves into developing a miniature application, called an engine. This is a relatively new feature in Rails 3.1, and this chapter is the most comprehensive guide to engine development with Ruby on Rails 3.1 available.
- Chapter 17 covers Rack applications and how to work with Rack middleware. Rack is a key component of how the entire Rails stack works, and this chapter provides great detail on how Rack ties into Rails.
Rails 3.1 and the evolving ecosystem around it introduces a new generation of Rails development. Whether you're just starting with Rails or moving from an earlier version, this book is a must-read.
About the Author
Yehuda Katz works on Merb and Rails 3 for Engine Yard. He also heads up the jQuery plugin development team. Yehuda is the coauthor of jQuery in Action and a contributor to Ruby in Practice.
Ryan Bigg, aka "Radar" on Freenode IRC, is a web developer and living and working in Australia. A professional Rails developer since 2006, Ryan blogs at http://ryanbigg.com. You'll find his numerous open sourced Rails applications, gems and plugins on Github at http://github.com/radar.