Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

译稿升级到 Rails 5.1.3 #93

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/zh-CN/initialization.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ require 'bundler/setup' # 设置 Gemfile 中列出的所有 gem
* arel
* builder
* bundler
* erubis
* erubi
* i18n
* mail
* mime-types
Expand Down
2 changes: 1 addition & 1 deletion source/zh-CN/upgrading_ruby_on_rails.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Rails 5.1 的变动参见[发布记](5_1_release_notes.html)。

如果你的应用使用顶层 `HashWithIndifferentAccess` 类,应该逐渐转用 `ActiveSupport::HashWithIndifferentAccess` 类。

这只是一项温和的弃用,目前代码不受影响,也不看看到提醒,但是以后会删除这个常量。
这只是一项温和的弃用,目前代码不受影响,也不会看到提醒,但是以后会删除这个常量。

此外,如果 YAML 文档转储中包含这个类的对象,要重新加载并转储,以便引用正确的常量,防止以后无法加载。

Expand Down