Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
张重言
rails
提交
9c9732f3
R
rails
项目概览
张重言
/
rails
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rails
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
9c9732f3
编写于
12月 22, 2015
作者:
Y
Yves Senn
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
release notes, use past tense. [ci skip]
上级
09908269
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
15 addition
and
15 deletion
+15
-15
guides/source/5_0_release_notes.md
guides/source/5_0_release_notes.md
+15
-15
未找到文件。
guides/source/5_0_release_notes.md
浏览文件 @
9c9732f3
...
...
@@ -67,28 +67,28 @@ Please refer to the [Changelog][railties] for detailed changes.
Ruby
2.
2. (
[
commit
](
https://github.com/rails/rails/commit/93559da4826546d07014f8cfa399b64b4a143127
)
)
*
Remove deprecated
`test:all`
and
`test:all:db`
tasks.
*
Remove
d
deprecated
`test:all`
and
`test:all:db`
tasks.
(
[
commit
](
https://github.com/rails/rails/commit/f663132eef0e5d96bf2a58cec9f7c856db20be7c
)
)
*
Remove deprecated
`Rails::Rack::LogTailer`
.
*
Remove
d
deprecated
`Rails::Rack::LogTailer`
.
(
[
commit
](
https://github.com/rails/rails/commit/c564dcb75c191ab3d21cc6f920998b0d6fbca623
)
)
*
Remove deprecated
`RAILS_CACHE`
constant.
*
Remove
d
deprecated
`RAILS_CACHE`
constant.
(
[
commit
](
https://github.com/rails/rails/commit/b7f856ce488ef8f6bf4c12bb549f462cb7671c08
)
)
*
Remove deprecated
`serve_static_assets`
configuration.
*
Remove
d
deprecated
`serve_static_assets`
configuration.
(
[
commit
](
https://github.com/rails/rails/commit/463b5d7581ee16bfaddf34ca349b7d1b5878097c
)
)
*
Remove the documentation tasks
`doc:app`
,
`doc:rails`
, and
`doc:guides`
.
*
Remove
d
the documentation tasks
`doc:app`
,
`doc:rails`
, and
`doc:guides`
.
(
[
commit
](
https://github.com/rails/rails/commit/cd7cc5254b090ccbb84dcee4408a5acede25ef2a
)
)
### Deprecations
*
Deprecate
`config.static_cache_control`
in favor of
*
Deprecate
d
`config.static_cache_control`
in favor of
`config.public_file_server.headers`
.
(
[
Pull Request
](
https://github.com/rails/rails/pull/22173
)
)
*
Deprecate
`config.serve_static_files`
in favor of
`config.public_file_server.enabled`
.
*
Deprecate
d
`config.serve_static_files`
in favor of
`config.public_file_server.enabled`
.
(
[
Pull Request
](
https://github.com/rails/rails/pull/22173
)
)
### Notable changes
...
...
@@ -142,7 +142,7 @@ Please refer to the [Changelog][action-pack] for detailed changes.
*
Removed deprecated assertion files.
(
[
commit
](
https://github.com/rails/rails/commit/92e27d30d8112962ee068f7b14aa7b10daf0c976
)
)
*
Remove deprecated usage of string keys in URL helpers.
*
Remove
d
deprecated usage of string keys in URL helpers.
(
[
commit
](
https://github.com/rails/rails/commit/34e380764edede47f7ebe0c7671d6f9c9dc7e809
)
)
*
Removed deprecated
`only_path`
option on
`*_path`
helpers.
...
...
@@ -299,32 +299,32 @@ Please refer to the [Changelog][active-record] for detailed changes.
*
Synchronize behavior of
`#tables`
.
(
[
Pull Request
](
https://github.com/rails/rails/pull/21601
)
)
*
Deprecate
`connection.tables`
on the SQLite3 and MySQL adapters.
*
Deprecate
d
`connection.tables`
on the SQLite3 and MySQL adapters.
*
Deprecate passing arguments to
`#tables`
- the
`#tables`
method of some
*
Deprecate
d
passing arguments to
`#tables`
- the
`#tables`
method of some
adapters (mysql2, sqlite3) would return both tables and views while others
(postgresql) just return tables. To make their behavior consistent,
`#tables`
will return only tables in the future.
*
Deprecate
`table_exists?`
- The
`#table_exists?`
method would check both
*
Deprecate
d
`table_exists?`
- The
`#table_exists?`
method would check both
tables and views. To make their behavior consistent with
`#tables`
,
`#table_exists?`
will check only tables in the future.
### Notable changes
*
Add a
`foreign_key`
option to
`references`
while creating the table.
*
Add
ed
a
`foreign_key`
option to
`references`
while creating the table.
(
[
commit
](
https://github.com/rails/rails/commit/99a6f9e60ea55924b44f894a16f8de0162cf2702
)
)
*
New attributes
API. (
[
commit
](
https://github.com/rails/rails/commit/8c752c7ac739d5a86d4136ab1e9d0142c4041e58
)
)
*
Add
`:enum_prefix`
/
`:enum_suffix`
option to
`enum`
*
Add
ed
`:enum_prefix`
/
`:enum_suffix`
option to
`enum`
definition. (
[
Pull Request
](
https://github.com/rails/rails/pull/19813
)
)
*
Add
`#cache_key`
to
`ActiveRecord::Relation`
.
*
Add
ed
`#cache_key`
to
`ActiveRecord::Relation`
.
(
[
Pull Request
](
https://github.com/rails/rails/pull/20884
)
)
*
Add
`ActiveRecord::Relation#outer_joins`
.
*
Add
ed
`ActiveRecord::Relation#outer_joins`
.
(
[
Pull Request
](
https://github.com/rails/rails/pull/12071
)
)
*
Require
`belongs_to`
by default.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录