diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2015-06-08 08:55:01 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2015-06-08 08:55:01 +0900 |
commit | eb9f42b2915f1bbe9b52139e1bc33644b3d64012 (patch) | |
tree | cf2daecfba421013178f64cb815bf14bbe279e37 | |
parent | ee372bdcebf9ce978152c353ecfd5608dc05038a (diff) | |
download | rails-eb9f42b2915f1bbe9b52139e1bc33644b3d64012.tar.gz rails-eb9f42b2915f1bbe9b52139e1bc33644b3d64012.tar.bz2 rails-eb9f42b2915f1bbe9b52139e1bc33644b3d64012.zip |
add `instantiation.active_record` hook to instrumentation guide [ci skip]
the hook was added in 2a0d97bc89fc230241453cbbf55621309e1f3ac6
-rw-r--r-- | guides/source/active_support_instrumentation.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/guides/source/active_support_instrumentation.md b/guides/source/active_support_instrumentation.md index 1b14bedfbf..373dbbb9aa 100644 --- a/guides/source/active_support_instrumentation.md +++ b/guides/source/active_support_instrumentation.md @@ -252,6 +252,20 @@ INFO. The adapters will add their own data as well. | `:name` | Record's class | | `:connection_id` | `self.object_id` | +### instantiation.active_record + +| Key | Value | +| ---------------- | ----------------------------------------- | +| `:record_count` | Number of records that instantiated | +| `:class_name` | Record's class | + +```ruby +{ + record_count: 1, + class_name: "User" +} +``` + Action Mailer ------------- |