diff options
Diffstat (limited to 'actionmailer/README.rdoc')
-rw-r--r-- | actionmailer/README.rdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/README.rdoc b/actionmailer/README.rdoc index af9bf40f9e..2806531dfa 100644 --- a/actionmailer/README.rdoc +++ b/actionmailer/README.rdoc @@ -102,7 +102,7 @@ Example: ) if email.has_attachments? - for attachment in email.attachments + email.attachments.each do |attachment| page.attachments.create({ :file => attachment, :description => email.subject }) |