提交 f5b553c9 编写于 作者: A Arthur Neves

Add changelog for batch touch records.

related to #19324 and #18606

[skip ci]
上级 a38afb3e
......@@ -228,6 +228,21 @@
## Rails 5.0.0.beta1 (December 18, 2015) ##
* Limit record touching to once per transaction.
If you have a parent/grand-parent relation like:
Comment belongs_to :message, touch: true
Message belongs_to :project, touch: true
Project belongs_to :account, touch: true
When the lowest entry(`Comment`) is saved, now, it won't repeat the touch
call multiple times for the parent records.
Related #18606.
*arthurnn*
* Order the result of `find(ids)` to match the passed array, if the relation
has no explicit order defined.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册