From f597822f4ae0c8068a3ab53d2744c6eadbb9897a Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Sun, 2 Oct 2016 13:29:17 +0900 Subject: add `cached` key to `sql.active_record` event [ci skip] Follow up to #26584 --- guides/source/active_support_instrumentation.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'guides/source/active_support_instrumentation.md') diff --git a/guides/source/active_support_instrumentation.md b/guides/source/active_support_instrumentation.md index 03af3cf819..3fc9d9bfa9 100644 --- a/guides/source/active_support_instrumentation.md +++ b/guides/source/active_support_instrumentation.md @@ -231,12 +231,13 @@ Active Record ### sql.active_record -| Key | Value | -| ---------------- | --------------------- | -| `:sql` | SQL statement | -| `:name` | Name of the operation | -| `:connection_id` | `self.object_id` | -| `:binds` | Bind parameters | +| Key | Value | +| ---------------- | ---------------------------------------- | +| `:sql` | SQL statement | +| `:name` | Name of the operation | +| `:connection_id` | `self.object_id` | +| `:binds` | Bind parameters | +| `:cached` | `true` is added when cached queries used | INFO. The adapters will add their own data as well. -- cgit v1.2.3