Everybody that has ever implemented file upload by hand in a Rails app knows that it’s no cakewalk, not to mention a major security risk.
Easy file attachment management for ActiveRecord. Contribute to thoughtbot/paperclip development by creating an account on GitHub.
Everybody that has ever implemented file upload by hand in a Rails app knows that it’s no cakewalk, not to mention a major security risk.
It’s been over two years since I have implemented Paperclip, the awesome image attachment gem, into a Rails app. The basic setup is still very easy and clean to do, as is the initial setup to get S3 storage working. But what’s not well documented is how to use Cloudfront to serve up your image attachments rather than pulling them from S3. Thanks to this helpful answer on stack overflow, and a little digging into the code of Paperclip itself, it turns out to be trivial to implement.
Trying to configure Rails ActiveStorage for Minio as your storage provider? The default configuration does not work out of the box, so read on to see what configuration options you are missing.
Paperclip 4.0 and 4.1 contain security fixes to prevent spoofing. A content type or filename validation is also now required.
Three years ago I wrote about how to choose the right uploader gem for your project. Since the time the original article has been published, all mentioned...
We are deprecating Paperclip in favor of ActiveStorage. Learn what this means for you.
Few days ago as I was happily chopping away on my duck taped Rails application I decided it was a good moment to measure up bottlenecks and optimize …
Paperclip is the most popular upload tool for Ruby on Rails, and I found a way to upload a file with arbitrary extension, which can lead to...
Hi, I'm a freelance software developer & consultant based in Madrid, Spain.
Les conteneurs permettent d’isoler les ressources utilisées par des services, et avec un peu de discipline, offrent la promesse d’utiliser au mieux un groupe de machines. Mais comment assurer de la persistence dans cet environnement mobile?