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 UI/UX Design

UI/UX Design by makandra brand

We make sure that your target audience has the best possible experience with your digital product. You get:

  • Design tailored to your audience
  • Proven processes customized to your needs
  • An expert team of experienced designers
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)