| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| generators/paperclip | ||
| paperclip | ||
| tasks | ||
| paperclip.rb |
The new default :path and :include include the name of the model and
also nests the model ID under a series of subdirectories, improving
filesystem access speed when more than 1024 models have saved
attachments.
The easiest way to upgrade is to add an explicit :url and :path to your
has_attached_file calls:
has_attached_file :avatar,
:path => ":rails_root/public/system/:attachment/:id/:style/:filename",
:url => "/system/:attachment/:id/:style/:filename"
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| generators/paperclip | Loading commit data... | |
| paperclip | Loading commit data... | |
| tasks | Loading commit data... | |
| paperclip.rb | Loading commit data... |