To protect the attachments with this new policy, you need to configure CarrierWave to not store them in the public directory
- Chapter 9. File uploading
- from Rails 4 in Action: Revised Edition of Rails 3 in Action
- Publisher: Manning Publications
- Released: September 2015
Why should they be stored outside the public folder?
Share this highlighthttp://www.safaribooksonline.com/a/rails-4-in/4014213/