diff options
-rw-r--r-- | guides/source/active_support_instrumentation.md | 16 |
1 files changed, 16 insertions, 0 deletions
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 ------------ |