首页 | Ruby on Rails China | Rails 教程中文版 | Fork me in Github | Ruby China 社区 | Documentation | Blog

Ruby on Rails Guides 中文 (cf0cb03)

这里是一个全新的 Rails Guides for Rails 基于 cf0cb03. 这份教程能让你更快更高效用 Rails 进行开发,让你你更深入地了解 Rails 的一切。

你能在这里找到官方的原版 Rails Guides .

Ruby on Rails Guides 中文需要热心的你,加入翻译或者建议.

Rails Guides (英文) 现在已经有了 Kindle版本, 在 iPad, iPhone, Mac, Anroid..上使用 kindle书阅读器一样也可以使用,点击 下载.
如果文章被打上了这样的标签就说明这文章还没有完成或者还没有人认领翻译,如果是前者请耐心等待对应贡献者的文章,如果是后者你可以直接fork并翻译,我们欢迎任何形式的建议

起步(Start Here)

Rails 初上手指南
贡献者:jhjguxin

关于安装和建立一个全新的 Rails 程序你所需要知道的一切.

模型(Models)

Rails 数据迁移
贡献者:zernel

这篇文章将会教会你如何使用 Active Record 来进行数据迁移,如何用结构化的语言来组织、更新你的数据库。

Active Record 校验与回调
贡献者:reyesyang

该教程将会包含 Rails 中 Active Record 的验证与回调。

Active Record 数据表关联
施工中!贡献者: sanatir

This guide covers all the associations provided by Active Record.

Active Record 查询接口
这篇还没有人翻译,我要翻译本文

这篇指导涉及了如何使用 Active Record 从数据库中检索数据。

视图(Views)

Rails中的布局与渲染
施工中!贡献者: NaixSpirit

This guide covers the basic layout features of Action Controller and Action View, including rendering and redirecting, using content_for blocks, and working with partials.

Action View Form Helpers
施工中!贡献者: crhan

Guide to using built-in Form helpers.

控制器(Controllers)

动作控制器概述
贡献者:wolflee

这篇指南介绍控制器的工作原理以及它们在应用中的请求周期中是怎样协调运行的。内容包括 sessions ,过滤器,cookies ,数据流,除此之外还有包含处理由请求引起异常的内容。

深入浅出说路由
贡献者:Tassandar

这份教程介绍了 Rails 路由的常见功能。如果你想了解你的Rails程序中的路由该如何配置,就从这里开始吧。

深入(Digging Deeper)

Active Support Core Extensions
这篇还没有人翻译,我要翻译本文

This guide documents the Ruby core extensions defined in Active Support.

Rails Internationalization API
施工中!贡献者: 匿名

This guide covers how to add internationalization to your applications. Your application will be able to translate content to different languages, change pluralization rules, use correct date formats for each country and so on.

Action Mailer 介绍
贡献者:Tassandar

这份教程讲诉了如何使用 Action Mailer 进行邮件的收发。

Testing Rails Applications
这篇还没有人翻译,我要翻译本文

This is a rather comprehensive guide to doing both unit and functional tests in Rails. It covers everything from 'What is a test?' to the testing APIs. Enjoy.

Securing Rails Applications
这篇还没有人翻译,我要翻译本文

This guide describes common security problems in web applications and how to avoid them with Rails.

Debugging Rails Applications
这篇还没有人翻译,我要翻译本文

This guide describes how to debug Rails applications. It covers the different ways of achieving this and how to understand what is happening "behind the scenes" of your code.

Rails 应用与性能测试
贡献者:Tassandar

这份文章介绍了几种对一个 Ruby on Rails 应用进行性能测试的方法。

Rails 应用配置指南
贡献者:ichord

这个指南是一份全面的 Rails 应用基本配置指南.

Rails 命令行工具和 Rake 任务
贡献者:Fenprace

本指南涵盖了 Rails 的命令行工具和 rake 任务。

Caching with Rails
施工中!贡献者: sunny0425

Various caching techniques provided by Rails.

Asset Pipeline
这篇还没有人翻译,我要翻译本文

本指南记载了 asset pipline.

Engine 入门
施工中!贡献者: jhjguxin

这是一个解释如何编写一个可挂载的 engine 的教程。

The Rails Initialization Process
这篇还没有人翻译,我要翻译本文

This guide explains the internals of the Rails initialization process as of Rails 3.1

扩展(Extending Rails)

Rails 插件入门指南
这篇还没有人翻译,我要翻译本文

这篇文章将会告诉你如何在 Rails 上创建一个插件.

Rails on Rack
这篇还没有人翻译,我要翻译本文

这篇指南涵盖了 Rails 与 Rack 集成以及其他 Rack 组件的连接。

Creating and Customizing Rails Generators
这篇还没有人翻译,我要翻译本文

This guide covers the process of adding a brand new generator to your extension or providing an alternative to an element of a built-in Rails generator (such as providing alternative test stubs for the scaffold generator).

为 Ruby on Rails 社区做出贡献

Contributingaaa to Ruby on Rails
这篇还没有人翻译,我要翻译本文

Rails is not 'somebody else's framework. This guide covers a variety of ways that you can get involved in the ongoing development of Rails.

API Documentation Guidelines
这篇还没有人翻译,我要翻译本文

This guide documents the Ruby on Rails API documentation guidelines.

Ruby on Rails Guides Guidelines
这篇还没有人翻译,我要翻译本文

This guide documents the Ruby on Rails guides guidelines.

Release Notes

Upgrading Ruby on Rails
这篇还没有人翻译,我要翻译本文

This guide helps in upgrading applications to latest Ruby on Rails versions.

Ruby on Rails 3.2 Release Notes
这篇还没有人翻译,我要翻译本文

Release notes for Rails 3.2.

Ruby on Rails 3.1 Release Notes
这篇还没有人翻译,我要翻译本文

Release notes for Rails 3.1.

Ruby on Rails 3.0 Release Notes
这篇还没有人翻译,我要翻译本文

Release notes for Rails 3.0.

Ruby on Rails 2.3 Release Notes
这篇还没有人翻译,我要翻译本文

Release notes for Rails 2.3.

Ruby on Rails 2.2 Release Notes
这篇还没有人翻译,我要翻译本文

Release notes for Rails 2.2.

关于 Rails Guides 中文

你也可以为 Rails Guides 中文做出贡献.

如果你发现了任何翻译上的错误或者不足.请到 GitHub 帐号 clone 并且 fork 一份进行更正提交,我们会很快做出回应。 如果你发现了任何代码上的 bug 或者不足,你可以到 docrails 进行反馈与更正。 如果你发现了某一篇文章已经过时了并且并没有做出相应的提示,你也同样可以在 这里 上发起一个请求来提醒我们。

如果对 Rails 有什么建议的话去 这里.

当然你不管你有什么想要说的都可以发到 Ruby China 讨论或者 mail我.欢迎加入到 Ruby on Rails 社区!