Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


Rails Cookbook is packed with the solutions you need to be a proficient developer with Rails, the leading framework for building the new generation of Web 2.0 applications. Recipes range from the basics, like installing Rails and setting up your development environment, to the latest techniques, such as developing RESTful web services. With applications that are code light, feature-full and built to scale quickly, Rails has revolutionized web development. The Rails Cookbook addresses scores of real-world challenges; each one includes a tested solution, plus a discussion of how and why it works, so that you can adapt the techniques to similar situations. Topics include:

  • Modeling data with the ActiveRecord library

  • Setting up views with ActionView and RHTML templates

  • Building your application's logic into ActionController

  • Testing and debugging your Rails application

  • Building responsive web applications using JavaScript and Ajax

  • Ensuring that your application is security and performs well

  • Deploying your application with Mongrel and Apache

  • Using Capistrano to automate deployment

  • Using the many Rails plugins

  • Working with graphics

Whether you're new to Rails or an experienced developer, you'll discover ways to test, debug and secure your applications, incorporate Ajax, use caching to improve performance, and put your application into production. Want to get ahead of the Web 2.0 curve? This valuable cookbook will save you hundreds of hours when developing applications with Rails.

Subscriber Reviews

Average Rating: 2.5 out of 5 rating Based on 2 Ratings

"Thank Goodness I didn't buy this book" - by jwickard on 28-MAY-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This book reads more like a beginners guide than a cookbook. I'm glad I didn't purchase it at the store and read it on safari instead.

Also, it made me submit at least one star to submit review.

Report as Inappropriate

Table of Contents



The publisher has provided additional content related to this title.


Visit the catalog page for Rails Cookbook

  • Catalog Page

Visit the errata page for Rails Cookbook

  • Errata

Download the supplemental electronic content for Rails Cookbook

  • Supplemental Content