instance method
_raise_error
Ruby on Rails 4.1.16
Since v4.1.16 PrivateSignature
_raise_error()
No documentation comment.
Source
# File actionmailer/lib/action_mailer/base.rb, line 664
def _raise_error
raise RuntimeError, "Can't add attachments after `mail` was called.\n" \
"Make sure to use `attachments[]=` before calling `mail`."
end
Defined in actionmailer/lib/action_mailer/base.rb line 664
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionMailer::Base::LateAttachmentsProxy