diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-11-08 18:45:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-08 18:45:02 +0100 |
commit | 398570d21817264b544714cd65bfa6bfe994d38f (patch) | |
tree | 7047a2764cffccb53519d003bf3cbd3dcb5dd62e | |
parent | 1de3041e3be7be8477ee28c7ece616a5975321bd (diff) | |
parent | 4582d5766a5e87aab28c941d65eed749da2220ab (diff) | |
download | rails-398570d21817264b544714cd65bfa6bfe994d38f.tar.gz rails-398570d21817264b544714cd65bfa6bfe994d38f.tar.bz2 rails-398570d21817264b544714cd65bfa6bfe994d38f.zip |
Merge pull request #26993 from yui-knk/render_collection.action_view
[ci skip] Add `render_collection.action_view` entry to AS instrumenta…
-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 ------------ |