Refile: Ruby file uploads, take 3

Updated . Posted . Visible to the public.

Jonas Nicklas, the author of Carrierwave and Capybara, has released Refile Show archive.org snapshot , a gem for handling file uploads in Rails. It handles direct uploads (also direct uploads to Amazon S3) better than Carrierwave.

The story and reasoning Show archive.org snapshot behind some of the decisions in Refile, and how it's different from Carrierwave, by the author himself, is a good read before deciding which way you'll go.

Big Caveat: Refile only stores the original image and renders the desired version (e.g. smaller, cropped) on page load. This will create significant load on your servers and effectively forces you to have HTTP caching or a CDN.

Last edit
Dominik Schöler
License
Source code in this card is licensed under the MIT License.
Posted to makandra dev (2015-01-20 13:30)