diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-06-12 17:04:00 -0600 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-06-12 17:04:00 -0600 |
commit | 4e009eec3dacf76d25f61402f86b2e474dadee8a (patch) | |
tree | 5fad08094179f14e45d3dc047b1a2c6782035b9c /guides/source | |
parent | ae1b451e65b864835a65bfbb2409f0fd5451fb52 (diff) | |
parent | fd984e850050710bfcba45c641757bce24072e12 (diff) | |
download | rails-4e009eec3dacf76d25f61402f86b2e474dadee8a.tar.gz rails-4e009eec3dacf76d25f61402f86b2e474dadee8a.tar.bz2 rails-4e009eec3dacf76d25f61402f86b2e474dadee8a.zip |
Merge pull request #15667 from samdec/mailer_doc_bug_fix
fix bug in email with name example code
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/action_mailer_basics.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_mailer_basics.md b/guides/source/action_mailer_basics.md index c7117027c0..cb1c1c653d 100644 --- a/guides/source/action_mailer_basics.md +++ b/guides/source/action_mailer_basics.md @@ -309,7 +309,7 @@ email address in the format `"Full Name <email>"`. ```ruby def welcome_email(user) @user = user - email_with_name = "#{@user.name} <#{@user.email}>" + email_with_name = %("#{@user.name}" <#{@user.email}>) mail(to: email_with_name, subject: 'Welcome to My Awesome Site') end ``` |