This commit also addresses rails/docrails#169 and rails/rails#14159
This commit is contained in:
Zachary Scott 2014-02-23 20:19:15 +11:00
parent b91d76131b
commit f302079d97
3 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ Example:
)
if email.has_attachments?
email.attachments.each do |attachment|
email.attachments.each do |attachment|
page.attachments.create({
file: attachment, description: email.subject
})

View File

@ -94,7 +94,7 @@ module ActionMailer
# Hi <%= @account.name %>,
# Thanks for joining our service! Please check back often.
#
# You can even use Action Pack helpers in these views. For example:
# You can even use Action View helpers in these views. For example:
#
# You got a new note!
# <%= truncate(@note.body, length: 25) %>

View File

@ -74,7 +74,7 @@ module ActionDispatch
#
# domain: nil # Does not sets cookie domain. (default)
# domain: :all # Allow the cookie for the top most level
# domain and subdomains.
# # domain and subdomains.
#
# * <tt>:expires</tt> - The time at which this cookie expires, as a \Time object.
# * <tt>:secure</tt> - Whether this cookie is only transmitted to HTTPS servers.