From 4582d5766a5e87aab28c941d65eed749da2220ab Mon Sep 17 00:00:00 2001 From: yui-knk Date: Tue, 8 Nov 2016 16:37:02 +0900 Subject: [ci skip] Add `render_collection.action_view` entry to AS instrumentation --- guides/source/active_support_instrumentation.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/guides/source/active_support_instrumentation.md b/guides/source/active_support_instrumentation.md index 3fc9d9bfa9..2be3a1c4e2 100644 --- a/guides/source/active_support_instrumentation.md +++ b/guides/source/active_support_instrumentation.md @@ -226,6 +226,22 @@ Action View } ``` +### render_collection.action_view + +| Key | Value | +| ------------- | ----------------------------------- | +| `:identifier` | Full path to template | +| `:count` | Size of collection | +| `:cache_hits` | Count of cached partials (optional) | + +```ruby +{ + identifier: "/Users/adam/projects/notifications/app/views/posts/_post.html.erb", + count: 3, + cache_hits: 0 +} +``` + Active Record ------------ -- cgit v1.2.3