diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2018-09-11 16:30:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-11 16:30:22 -0400 |
commit | 7acd2674fb6822cc3841ae2d59b93695ef18b71a (patch) | |
tree | a1038855dee638770fa4d9640acda3268034b474 /guides/source/active_support_instrumentation.md | |
parent | d54d0c95750e2693da495b75ac5fa0280253972d (diff) | |
parent | 576209b45bf6d20e91562da77e454bc58bda3658 (diff) | |
download | rails-7acd2674fb6822cc3841ae2d59b93695ef18b71a.tar.gz rails-7acd2674fb6822cc3841ae2d59b93695ef18b71a.tar.bz2 rails-7acd2674fb6822cc3841ae2d59b93695ef18b71a.zip |
Merge pull request #33824 from yskkin/suppress_logging
Skip delivery notification when perform_deliveries is false.
Diffstat (limited to 'guides/source/active_support_instrumentation.md')
-rw-r--r-- | guides/source/active_support_instrumentation.md | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/guides/source/active_support_instrumentation.md b/guides/source/active_support_instrumentation.md index 8581817d71..69c6a6e414 100644 --- a/guides/source/active_support_instrumentation.md +++ b/guides/source/active_support_instrumentation.md @@ -319,17 +319,18 @@ Action Mailer ### deliver.action_mailer -| Key | Value | -| ------------- | -------------------------------------------- | -| `:mailer` | Name of the mailer class | -| `:message_id` | ID of the message, generated by the Mail gem | -| `:subject` | Subject of the mail | -| `:to` | To address(es) of the mail | -| `:from` | From address of the mail | -| `:bcc` | BCC addresses of the mail | -| `:cc` | CC addresses of the mail | -| `:date` | Date of the mail | -| `:mail` | The encoded form of the mail | +| Key | Value | +| --------------------- | ---------------------------------------------------- | +| `:mailer` | Name of the mailer class | +| `:message_id` | ID of the message, generated by the Mail gem | +| `:subject` | Subject of the mail | +| `:to` | To address(es) of the mail | +| `:from` | From address of the mail | +| `:bcc` | BCC addresses of the mail | +| `:cc` | CC addresses of the mail | +| `:date` | Date of the mail | +| `:mail` | The encoded form of the mail | +| `:perform_deliveries` | Whether delivery of this message is performed or not | ```ruby { @@ -339,7 +340,8 @@ Action Mailer to: ["users@rails.com", "dhh@rails.com"], from: ["me@rails.com"], date: Sat, 10 Mar 2012 14:18:09 +0100, - mail: "..." # omitted for brevity + mail: "...", # omitted for brevity + perform_deliveries: true } ``` |