1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

[ci skip] Add render_collection.action_view entry to AS instrumentation

This commit is contained in:
yui-knk 2016-11-08 16:37:02 +09:00
parent 1de3041e3b
commit 4582d5766a

View file

@ -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
------------