Our project requires a method for uploading files. These files would primarily be video files uploaded by producers, but could be extended to include user avatars. In addition, we may require the uploading of content thumbnails, cover art, title art, as well as potentially actor portraits. Adding complexity to the issue, Heroku is intended for temporary instances, and does not retain the filesystem as dynos are changed.
Proposal:
The gem carrierwave provides features for uploading files to a project. It should also be possible to upload into a private directory in order to restrict user access. Other solutions for user access may also be possible. In addition, it may be possible to combine this with the fog gem in order to upload to dedicated hosting on another service like S3.
Issue:
Our project requires a method for uploading files. These files would primarily be video files uploaded by producers, but could be extended to include user avatars. In addition, we may require the uploading of content thumbnails, cover art, title art, as well as potentially actor portraits. Adding complexity to the issue, Heroku is intended for temporary instances, and does not retain the filesystem as dynos are changed.
Proposal:
The gem carrierwave provides features for uploading files to a project. It should also be possible to upload into a private directory in order to restrict user access. Other solutions for user access may also be possible. In addition, it may be possible to combine this with the fog gem in order to upload to dedicated hosting on another service like S3.
Resources: