diff options
| author | yui-knk <spiketeika@gmail.com> | 2016-11-08 16:37:02 +0900 |
|---|---|---|
| committer | yui-knk <spiketeika@gmail.com> | 2016-11-08 20:03:22 +0900 |
| commit | 4582d5766a5e87aab28c941d65eed749da2220ab (patch) | |
| tree | 7047a2764cffccb53519d003bf3cbd3dcb5dd62e | |
| parent | 1de3041e3be7be8477ee28c7ece616a5975321bd (diff) | |
| download | rails-4582d5766a5e87aab28c941d65eed749da2220ab.tar.gz rails-4582d5766a5e87aab28c941d65eed749da2220ab.tar.bz2 rails-4582d5766a5e87aab28c941d65eed749da2220ab.zip | |
[ci skip] Add `render_collection.action_view` entry to AS instrumentation
| -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 ------------ |
