mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Remove attachment_fu, add CarrierWave to suggested uploader libraries
This commit is contained in:
committed by
Xavier Noria
parent
2aefff8f76
commit
bd13a6824e
@@ -589,7 +589,7 @@ def upload
|
||||
end
|
||||
</ruby>
|
||||
|
||||
Once a file has been uploaded, there are a multitude of potential tasks, ranging from where to store the files (on disk, Amazon S3, etc) and associating them with models to resizing image files and generating thumbnails. The intricacies of this are beyond the scope of this guide, but there are several plugins designed to assist with these. Two of the better known ones are "Attachment-Fu":https://github.com/technoweenie/attachment_fu and "Paperclip":http://www.thoughtbot.com/projects/paperclip.
|
||||
Once a file has been uploaded, there are a multitude of potential tasks, ranging from where to store the files (on disk, Amazon S3, etc) and associating them with models to resizing image files and generating thumbnails. The intricacies of this are beyond the scope of this guide, but there are several libraries designed to assist with these. Two of the better known ones are "CarrierWave":https://github.com/jnicklas/carrierwave and "Paperclip":http://www.thoughtbot.com/projects/paperclip.
|
||||
|
||||
NOTE: If the user has not selected a file the corresponding parameter will be an empty string.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user