Module | Paperclip::Storage::Filesystem |
In: |
lib/paperclip/storage/filesystem.rb
|
The default place to store attachments is in the filesystem. Files on the local filesystem can be very easily served by Apache without requiring a hit to your app. They also can be processed more easily after they‘ve been saved, as they‘re just normal files. There is one Filesystem-specific option for has_attached_file.
:path => "/var/app/attachments/:class/:id/:style/:basename.:extension"