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