Read more

Refile: Ruby file uploads, take 3

Thomas Klemm
January 20, 2015Software engineer

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.

Illustration online protection

Rails professionals since 2007

Our laser focus on a single technology has made us a leader in this space. Need help?

  • We build a solid first version of your product
  • We train your development team
  • We rescue your project in trouble
Read more Show archive.org snapshot

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.

Posted by Thomas Klemm to makandra dev (2015-01-20 14:30)