> For the complete documentation index, see [llms.txt](https://kelby.gitbook.io/rails-beginner-s-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kelby.gitbook.io/rails-beginner-s-guide/preface.md).

# 后记

一些建议：

* 看新代码。Rails 版本更新太快，无论是新手还是老手，都建议从新的开始学习。不看新代码，之前在旧版本里遇到的问题或解决方案，或许新版本已经有了更好的解决方案，并且还新增了一些新特性可以使用。
* 各个 release note 一定要认真看！你不需要知道整个改进过程，但是要大致了解。
* 不用想着什么都学会了，才动手。几乎不可能(也没必要)全部知识都能学会，并且知识从实践中来，只有动手做过才能掌握、熟练。
* 知识点尽量全面。有时候我们重复轮子，既花时间又不够理想，却不知有些方法 Rails 已经内置，直接用即可。
* 不用完全迷信'更优雅'。框架，顾名思义，提供了方便也会有限制。当实际需求需要的时候，没必要什么事都往框架提供的内置方法去套。应该优先考虑完成任务，及后续阅读、维护。

目标：

* 尽量简洁。
* 尽量把晦涩、难懂的东西讲明白。
* 帮助人理解 Rails 5 整体架构，做他们阅读源代码的带路人。
* 对 API 的补充。
* 理解 Rails 的优雅之处。(有些东西，我们自己也可以做，但 Rails 提供了，而且更优雅；我们需要理解它，然后使用它)
* 使用和原理相结合。尽量两者兼顾，把握好度。
* 重要的是解决问题的能力，而非专家。
* 没有最好的解决方案。
* 当你不确定时，不妨多敲几行代码，以防万一。

目标读者: 普通 Rails Web 开发者。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kelby.gitbook.io/rails-beginner-s-guide/preface.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
