提交 df63abe6 编写于 作者: A Andrew White 提交者: GitHub

Merge pull request #27024 from vipulnsward/changelog-edits

Changelog edits
* Permit same-origin connections by default.
New option `config.action_cable.allow_same_origin_as_host = false`
to disable.
Added new option `config.action_cable.allow_same_origin_as_host = false`
to disable this behaviour.
*Dávid Halász*, *Matthew Draper*
......@@ -13,7 +13,7 @@
*Vladimir Dementyev*
* Buffer writes to websocket connections, to avoid blocking threads
* Buffer now writes to websocket connections, to avoid blocking threads
that could be doing more useful things.
*Matthew Draper*, *Tinco Andringa*
......@@ -23,7 +23,7 @@
*Tinco Andringa*
* Add ActiveSupport::Notifications hook to Broadcaster#broadcast.
* Add `ActiveSupport::Notifications` hook to `Broadcaster#broadcast`.
*Matthew Wear*
......
......@@ -10,7 +10,7 @@
*Yuji Yaginuma*
* Allow keys not found in RACK_KEY_TRANSLATION for setting the environment when rendering
* Allow keys not found in `RACK_KEY_TRANSLATION` for setting the environment when rendering
arbitrary templates.
*Sammy Larbi*
......
......@@ -2,12 +2,12 @@
*Rafael Mendonça França*
* Render now accepts any keys for locals, including reserved words
* Render now accepts any keys for locals, including reserved keywords.
Only locals with valid variable names get set directly. Others
will still be available in local_assigns.
will still be available in `local_assigns`.
Example of render with reserved words:
Example of render with reserved keywords:
```erb
<%= render "example", class: "text-center", message: "Hello world!" %>
......
* Add `stat` method to `ActiveRecord::ConnectionAdapters::ConnectionPool`
* Added `stat` method to `ActiveRecord::ConnectionAdapters::ConnectionPool`
Example:
......@@ -10,18 +10,18 @@
* Avoid `unscope(:order)` when `limit_value` is presented for `count`.
If `limit_value` is presented, records fetching order is very important
for performance. Should not unscope the order in the case.
for performance. We should not unscope the order in the case.
*Ryuta Kamizono*
* Fix an Active Record DateTime field NoMethodError caused by incomplete
* Fix an Active Record `DateTime` field `NoMethodError` caused by incomplete
datetime.
Fixes #24195.
*Sen Zhang*
* Allow `slice` to take an array of methods (without need for splatting).
* Allow `slice` to take an array of methods(without the need for splatting).
*Cohen Carlisle*
......@@ -37,12 +37,12 @@
*Prathamesh Sonpatki*
* Optimistic locking: Added ability update locking_column value.
Ignore optimistic locking if update with new locking_column value.
* Optimistic locking: Added ability to update `locking_column` value.
Ignore optimistic locking if trying to update with new `locking_column` value.
*bogdanvlviv*
* Fixed: Optimistic locking does not work well with null in the database.
* Fixed: Optimistic locking does not work well with `null` in the database.
Fixes #26024
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册