From 2dc0918718c49e9e59bef47025f9bb465e44ddb7 Mon Sep 17 00:00:00 2001 From: Kasper Timm Hansen Date: Sun, 7 Aug 2016 19:14:31 +0200 Subject: [PATCH] Move CHANGELOG entry to the top. --- actionview/CHANGELOG.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md index bd6f2d788d..567e77f101 100644 --- a/actionview/CHANGELOG.md +++ b/actionview/CHANGELOG.md @@ -1,14 +1,3 @@ -* Changed partial rendering with a collection to allow collections which - implement `to_a`. - - Extracting the collection option had an optimization to avoid unnecessary - queries of ActiveRecord Relations by calling `#to_ary` on the given - collection. Instances of `Enumerator` or `Enumerable` are valid - collections, but they do not implement `#to_ary`. By changing this to - `#to_a`, they will now be extracted and rendered as expected. - - *Steven Harman* - * Show cache hits and misses when rendering partials. Partials using the `cache` helper will show whether a render hit or missed @@ -33,6 +22,17 @@ *Stan Lo* +* Changed partial rendering with a collection to allow collections which + implement `to_a`. + + Extracting the collection option had an optimization to avoid unnecessary + queries of ActiveRecord Relations by calling `#to_ary` on the given + collection. Instances of `Enumerator` or `Enumerable` are valid + collections, but they do not implement `#to_ary`. By changing this to + `#to_a`, they will now be extracted and rendered as expected. + + *Steven Harman* + * New syntax for tag helpers. Avoid positional parameters and support HTML5 by default. Example usage of tag helpers before: