title: Rails file upload: upload a folder
body: <p>I work on Rails project and client asked if I can add 'upload a folder' feature to simple file upload system that we have now. Currently it attaches files to model and then displays them on a page for download. Pretty basic.</p>
  
  <p>But I can't figure out how can I handle folder uploads, with every folder having it's own content. Is there any pre-made gems that can help accomplish that?</p>
  
  <p>We use Paperclip at the moment, but I don't mind migrating to Carrerwave or some other gem that would </p>
  
  <p><strong>UPDATE</strong> I see that I was unclear about my needs. I need an upload system that could handle folders. Something like this.
  <a href="https://i.stack.imgur.com/8V9Ml.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8V9Ml.png" alt="enter image description here"></a>
  In Dropbox I am able to upload both files and folders. How can I make my uploaders accept folders and then display them alongside regular attached files?</p>