title: Can I choose where an attachment appears in an email using ActionMailer in Ruby On Rails?
body: <p>I have the following statement in my mailer for one of my emails being sent.</p>
  
  <pre><code>attachments.inline['eBookSample.pdf'] = File.read('app/assets/images/eBookSample.pdf')
  </code></pre>
  
  <p>Normally the PDF documents have appeared at the bottom of the email which was by design. However for one of my email I would like to select where the PDF attachment appears in the email.</p>
  
  <p>I know about the <code>image_tag</code> attachments statement that you can use for images.</p>
  
  <pre><code>&lt;%= image_tag attachments['image.jpg'].url %&gt;
  </code></pre>
  
  <p>Does something similar exist for documents where where I can position a PDF attachment in the email? </p>