In my Rails application, I\'m trying to attach the invoice to the email:
def invoice(invoice) attachment :content_disposition => \"attachment\",
Isnt this just
attachments["invoice.pdf"] = InvoicePdf.new(invoice)
since 3.0?