aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhardbap <hardbap@gmail.com>2009-04-21 10:57:20 -0700
committerhardbap <hardbap@gmail.com>2009-04-21 10:57:20 -0700
commit4c21026da478afa763c6fadfb172938312311283 (patch)
tree79ff35d5608739900b94cb7df07f2564a8d2e0ec
parent81d595c6c0788ca22f58442fa100f3fa2b99a94d (diff)
downloadrails-4c21026da478afa763c6fadfb172938312311283.tar.gz
rails-4c21026da478afa763c6fadfb172938312311283.tar.bz2
rails-4c21026da478afa763c6fadfb172938312311283.zip
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.
-rw-r--r--railties/guides/source/action_mailer_basics.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/action_mailer_basics.textile b/railties/guides/source/action_mailer_basics.textile
index f885b9e527..db0b431eb9 100644
--- a/railties/guides/source/action_mailer_basics.textile
+++ b/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|