Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
张重言
rails
提交
c8a9ac00
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 搜索 >>
提交
c8a9ac00
编写于
4月 15, 2017
作者:
K
Kasper Timm Hansen
提交者:
GitHub
4月 15, 2017
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #28709 from prathamesh-sonpatki/release-notes-1
Started adding release notes for Rails 5.1 [ci skip]
上级
348413ea
cad58fb4
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
72 addition
and
22 deletion
+72
-22
guides/source/5_1_release_notes.md
guides/source/5_1_release_notes.md
+72
-22
未找到文件。
guides/source/5_1_release_notes.md
浏览文件 @
c8a9ac00
...
...
@@ -228,90 +228,140 @@ can generate form tags based on URLs, scopes or models.
Railties
--------
### Removals
### Deprecations
### Notable Changes
Please refer to the
[
Changelog
][
railties
]
for detailed changes.
Action Cable
-----------
### Removals
### Deprecations
### Notable changes
### Notable Changes
*
Added support for
`channel_prefix`
to Redis and evented Redis adapters
in
`cable.yml`
to avoid name collisions when using the same Redis server
with multiple applications.
(
[
Pull Request
](
https://github.com/rails/rails/pull/27425
)
)
Please refer to the
[
Changelog
][
action-cable
]
for detailed changes.
Action Pack
-----------
Please refer to the
[
Changelog
][
action-pack
]
for detailed changes.
### Removals
### Deprecations
### Notable changes
### Notable Changes
Please refer to the
[
Changelog
][
action-pack
]
for detailed changes.
Action View
-------------
Please refer to the
[
Changelog
][
action-view
]
for detailed changes.
### Removals
### Deprecations
### Notable changes
### Notable Changes
Please refer to the
[
Changelog
][
action-view
]
for detailed changes.
Action Mailer
-------------
Please refer to the
[
Changelog
][
action-mailer
]
for detailed changes.
### Removals
### Deprecations
### Notable changes
### Notable Changes
*
Allowed setting custom content type when attachments are included
and body is set inline.
(
[
Pull Request
](
https://github.com/rails/rails/pull/27227
)
)
*
Allowed passing lambdas as values to the
`default`
method.
(
[
Commit
](
https://github.com/rails/rails/commit/1cec84ad2ddd843484ed40b1eb7492063ce71baf
)
)
*
Added support for parameterized invocation of mailers to share before filters and defaults
between different mailer actions.
(
[
Commit
](
https://github.com/rails/rails/commit/1cec84ad2ddd843484ed40b1eb7492063ce71baf
)
)
*
Passed the incoming arguments to the mailer action to
`process.action_mailer`
event under
an
`args`
key.
(
[
Pull Request
](
https://github.com/rails/rails/pull/27900
)
)
Please refer to the
[
Changelog
][
action-mailer
]
for detailed changes.
Active Record
-------------
Please refer to the
[
Changelog
][
active-record
]
for detailed changes.
### Removals
### Deprecations
### Notable changes
### Notable Changes
*
Skipped comments in the output of
`mysqldump`
command by default.
(
[
Pull Request
](
https://github.com/rails/rails/pull/23301
)
)
*
Fixed
`ActiveRecord::Relation#count`
to use Ruby's
`Enumerable#count`
for counting
records when a block is passed as argument instead of silently ignoring the
passed block.
(
[
Pull Request
](
https://github.com/rails/rails/pull/24203
)
)
*
Pass
`"-v ON_ERROR_STOP=1"`
flag with
`psql`
command to not suppress SQL errors.
(
[
Pull Request
](
https://github.com/rails/rails/pull/24773
)
)
Please refer to the
[
Changelog
][
active-record
]
for detailed changes.
Active Model
------------
Please refer to the
[
Changelog
][
active-model
]
for detailed changes.
### Removals
### Deprecations
### Notable changes
### Notable Changes
Please refer to the
[
Changelog
][
active-model
]
for detailed changes.
Active Job
-----------
Please refer to the
[
Changelog
][
active-job
]
for detailed changes.
### Removals
### Deprecations
### Notable changes
### Notable Changes
Please refer to the
[
Changelog
][
active-job
]
for detailed changes.
Active Support
--------------
Please refer to the
[
Changelog
][
active-support
]
for detailed changes.
### Removals
### Deprecations
### Notable changes
### Notable Changes
*
Added
`Module#delegate_missing_to`
to delegate method calls not
defined for the current object to a proxy object.
(
[
Pull Request
](
https://github.com/rails/rails/pull/23930
)
)
*
Added
`Date#all_day`
which returns a range representing the whole day
of the current date & time.
(
[
Pull Request
](
https://github.com/rails/rails/pull/24930
)
)
Please refer to the
[
Changelog
][
active-support
]
for detailed changes.
Credits
-------
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录