aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2017-08-26 16:24:53 +0530
committerGitHub <noreply@github.com>2017-08-26 16:24:53 +0530
commit114d4e05900f1d3dee094338ddd764c0537f9a74 (patch)
tree591ff5befc8cd928ea7161a6df09a9a246b7a4c4
parentca2a66abef16f0b0a529c1cd533e7ba179e30890 (diff)
parent48aa94693c3ce2c07812488088b962a06a2ec565 (diff)
downloadrails-114d4e05900f1d3dee094338ddd764c0537f9a74.tar.gz
rails-114d4e05900f1d3dee094338ddd764c0537f9a74.tar.bz2
rails-114d4e05900f1d3dee094338ddd764c0537f9a74.zip
Merge pull request #30422 from dansteele/patch-3
Correct wording and adding info [ci skip]
-rw-r--r--guides/source/action_mailer_basics.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/guides/source/action_mailer_basics.md b/guides/source/action_mailer_basics.md
index ba26c922be..038148f75b 100644
--- a/guides/source/action_mailer_basics.md
+++ b/guides/source/action_mailer_basics.md
@@ -413,7 +413,7 @@ inside of Action Controller, so you can use all the same options, such as
#### Caching mailer view
-You can do cache in mailer views like in application views using `cache` method.
+You can perform fragment caching in mailer views like in application views using the `cache` method.
```
<% cache do %>
@@ -427,6 +427,9 @@ And in order to use this feature, you need to configure your application with th
config.action_mailer.perform_caching = true
```
+Fragment caching is also supported in multipart emails.
+Read more about caching in the [Rails caching guide](caching_with_rails.html).
+
### Action Mailer Layouts
Just like controller views, you can also have mailer layouts. The layout name