Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update ActionMailer guide's '2.3 Complete List of Action Mailer User-…

…Settable Attributes' to show that the attribute 'cc' and 'bcc' can take a string or an Array of strings.
  • Loading branch information...
commit 4c21026da478afa763c6fadfb172938312311283 1 parent 81d595c
@hardbap hardbap authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/guides/source/action_mailer_basics.textile
View
4 railties/guides/source/action_mailer_basics.textile
@@ -137,9 +137,9 @@ Hence, if the method name starts with +deliver_+ followed by any combination of
h4. Complete List of Action Mailer User-Settable Attributes
-|bcc| The BCC addresses of the email|
+|bcc| The BCC addresses of the email, either as a string (for a single address) or an array of strings (for multiple addresses)|
|body| The body of the email. This is either a hash (in which case it specifies the variables to pass to the template when it is rendered), or a string, in which case it specifies the actual body of the message|
-|cc| The CC addresses for the email|
+|cc| The CC addresses for the email, either as a string (for a single address) or an array of strings (for multiple addresses)|
|charset| The charset to use for the email. This defaults to the +default_charset+ specified for ActionMailer::Base.|
|content_type| The content type for the email. This defaults to "text/plain" but the filename may specify it|
|from| The from address of the email|
Please sign in to comment.
Something went wrong with that request. Please try again.