method
_raise_error
v5.2.3 -
Show latest stable
- Class:
ActionMailer::Base::LateAttachmentsProxy
_raise_error()private
No documentation available.
# File actionmailer/lib/action_mailer/base.rb, line 715
def _raise_error
raise RuntimeError, "Can't add attachments after `mail` was called.\n" "Make sure to use `attachments[]=` before calling `mail`."
end