title: Prawn PDF with Rails mailer?
body: <p>I have successfully created an email that sends on creation of a Kase, but now I need to attach a PDF that is created on the fly by Prawn and Prawno. Basically when you visit a kase such as application.com/kase/1 you just append the URL with .pdf i.e. application.com/kase/1.</p>
  
  <p>I spent ages getting the PDF to work and look how I wanted, but I can't figure out how to add the PDF to an auto sending email - mainly because I cannot work out how to give it a link as it's auto generated.</p>
  
  <p>Has anyone ever managed to get this to work?</p>
  
  <p>Thanks,</p>
  
  <p>Danny</p>