class Rails::MailersController
def attachment_url(attachment)
def attachment_url(attachment) "data:application/octet-stream;charset=utf-8;base64,#{Base64.encode64(attachment.body.to_s)}" end
def attachment_url(attachment) "data:application/octet-stream;charset=utf-8;base64,#{Base64.encode64(attachment.body.to_s)}" end