标题：Rails 经典实例
基本信息
原书名： Rails Cookbook  原出版社： O'Reilly Media, Inc.
作者： Rob Orsini    
丛书名： 东南大学出版社O'REILLY图书系列
出版社：东南大学出版社
ISBN：9787564107802
上架时间：2007-9-17
出版日期：2007 年6月
开本：16开
页码：514
版次：1-1
内容简介
rails是业界领先的新一代web 2.0应用程序开发框架，而这本《rails cookbook》里充满了为了让你成为rails开发专家而准备的各种解决方案。讨论范围覆盖了从基本概念，如安装rails及设置开发环境，到最新的各种技巧，如开发符合rest协议规范的web服务等。
rails可提供更轻量级的代码、更丰富的功能和更快捷的量身定制过程，由此带来了一场web开发革命。《rails cookbook》应对来自真实世界的各种挑战，每个问题的解答部分均包含了经测试验证的解决方案，加上关于怎样解决和为什么如此解决的讨。因此你不仅可以知其然，还能知其所以然，以便将相关技巧直接运用于类似的场景。议题涵盖：
以active record库进行数据建模
以action view和rhtml模板创建视图
在action controller中构建你的应用程序逻辑
测试并调试你的rails应用程序
以javascript和ajax构建交互式web应用程序
确保你的应用程序的安全性和可用性
以mongrel和apache部署你的应用程序
使用capistrano实现自动化部署
使用大量rails插件
无论是rails新手，还是经验丰富的资深开发者，你都将从本书中发现一系列有效方法，涉及测试、调试和保护你的应用程序、引入ajax、运用缓存改善性能以及将应用程序放入生产环境等方方面面。想抢占web 2.0的潮流先机么？这本极具价值的书会让你在开发rails应用程序的过程中节省数百小时的宝贵时间。
目录
foreword
preface
1.getting started
1.1 joining the rails community
1.2 finding documentation
1.3 installing mysql
1.4 installing postgresql
1.5 installing rails
1.6 fixing ruby and installing rails on os x 10.4 tiger
1.7 running rails in os x with locomotive
1.8 running rails in windows with instant rails
1.9 updating rails with rubygems
1.10 getting your rails project into subversion
2.rails development
2.1 creating a rails project
2.2 jump-starting development with scaffolding
2.3 speeding up rails development with mongrel
2.4 enhancing windows development with cygwin
2.5 understanding pluralization patterns in rails
2.6 developing rails in os x with textmate
.　2.7 cross-platform developing eith radrails
2.8 installing and running edge rails
2.9 setting up passwordless authentication with ssh
2.10 generating rdoc for your rails application
2.11 greating full-featured crud applications with streamlined
3.active record
3.1 setting up a relational database to use with rals
3.2 peogrammatically defining database schema
3.3 developing your database with migrations
3.4 modeling a database with active record
3.5 inspecting modelrelationships from the rails console
3.6 accessing your data via active record
3.7 retrieving records with find
3.8 iterating over an active record result set
3.9 retrieving data efficiently with eager loading
3.10 updating an active record object
3.11 enforcing data integrity with active record validations
3.12 executing custom queries with find_by_sql
3.13 protecting against race conditions with transactions
3.14 adding sort capabilities to a model with acts_as_list
3.15 performing a task whenever a model object is created
3.16 modeling a threaded forum with acts_as_nested_set
3.17 creating a directory of nested topics with acts_as_tree
3.18 avoiding race conditions with optimistic locking
3.19 handling tables with legacy naming conventions
3.20 automating record timestamping
3.21 factoring out common relationships with polymorphic associations
3.22 mixing join models and polymorphism for flexible data modeling
4.action controller
4.1 accessing form data from a controller
4.2 changing an application's default page
4.3 clarifying your code with named routes
4.4 configuring customized routing behavior
4.5 displaying alert messages with flash
4.6 extending the life of a flash message
4.7 following actions with redirects
4.8 generating urls dynamically
4.9 inspecting requests with filters
4.10 logging with filters
4.11 rendering actions
4.12 restricting access to controller methods
4.13 sending files or data streams to the browser
4.14 storing session information in a database
4.15 tracking information with sessions
4.16 using filters for authentication
5.action view
5.1 simplifying templates with view helpers
……
6.restful development 
7.rails application testing 
8.java script and ajax
9.action mailer
10.debugging rails applications
11.security
12.performance
13.hosting and deployment 
14.extending rails with plug-ins
15.graphics
appendix:migrating to rails 1.2
index