| Name |
Last commit
|
Last Update |
|---|---|---|
| cucumber | ||
| features | ||
| gemfiles | ||
| generators/paperclip | ||
| lib | ||
| rails | ||
| shoulda_macros | ||
| test | ||
| .gitignore | ||
| .travis.yml | ||
| Appraisals | ||
| CONTRIBUTING.md | ||
| Gemfile | ||
| Gemfile.lock | ||
| LICENSE | ||
| NEWS | ||
| README.md | ||
| Rakefile | ||
| init.rb | ||
| paperclip.gemspec |
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 |
|---|---|---|
| cucumber | Loading commit data... | |
| features | Loading commit data... | |
| gemfiles | Loading commit data... | |
| generators/paperclip | Loading commit data... | |
| lib | Loading commit data... | |
| rails | Loading commit data... | |
| shoulda_macros | Loading commit data... | |
| test | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .travis.yml | Loading commit data... | |
| Appraisals | Loading commit data... | |
| CONTRIBUTING.md | Loading commit data... | |
| Gemfile | Loading commit data... | |
| Gemfile.lock | Loading commit data... | |
| LICENSE | Loading commit data... | |
| NEWS | Loading commit data... | |
| README.md | Loading commit data... | |
| Rakefile | Loading commit data... | |
| init.rb | Loading commit data... | |
| paperclip.gemspec | Loading commit data... |