aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/CHANGELOG.md
diff options
context:
space:
mode:
Diffstat (limited to 'actionview/CHANGELOG.md')
-rw-r--r--actionview/CHANGELOG.md19
1 files changed, 14 insertions, 5 deletions
diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md
index 256b90784a..bd7ce14e04 100644
--- a/actionview/CHANGELOG.md
+++ b/actionview/CHANGELOG.md
@@ -1,3 +1,7 @@
+* Add support for nested hashes/arrays to `:params` option of `button_to` helper.
+
+ *James Coleman*
+
## Rails 5.0.0.beta2 (February 01, 2016) ##
* Fix stripping the digest from the automatically generated img tag alt
@@ -68,7 +72,7 @@
*Vasiliy Ermolovich*
-* Add a `hidden_field` on the `collection_radio_buttons` to avoid raising a error
+* Add a `hidden_field` on the `collection_radio_buttons` to avoid raising an error
when the only input on the form is the `collection_radio_buttons`.
*Mauro George*
@@ -193,16 +197,18 @@
*Ulisses Almeida*
-* Collection rendering automatically caches and fetches multiple partials.
+* Collection rendering can cache and fetch multiple partials at once.
Collections rendered as:
```ruby
- <%= render @notifications %>
- <%= render partial: 'notifications/notification', collection: @notifications, as: :notification %>
+ <%= render partial: 'notifications/notification', collection: @notifications, as: :notification, cached: true %>
```
- will now read several partials from cache at once, if the template starts with a cache call:
+ will read several partials from cache at once. The templates in the collection
+ that haven't been cached already will automatically be written to cache. Works
+ great alongside individual template fragment caching. For instance if the
+ template the collection renders is cached like:
```ruby
# notifications/_notification.html.erb
@@ -211,6 +217,9 @@
<% end %>
```
+ Then any collection renders shares that cache when attempting to read multiple
+ ones at once.
+
*Kasper Timm Hansen*
* Fixed a dependency tracker bug that caused template dependencies not