title: How can I customize the path of a Rails 5.2 ActiveStorage attachment in Amazon S3?
body: <p>When adding attachments such as</p>
  
  <pre><code>has_one_attached :resume_attachment
  </code></pre>
  
  <p>saved files end up in the top level of the S3 bucket. How can I add them to subdirectories? For example, my old paperclip configuration could categorize in directories by model name.</p>