GeistHaus
log in · sign up

GitHub - thoughtbot/paperclip: Easy file attachment management for ActiveRecord

github.com

Easy file attachment management for ActiveRecord. Contribute to thoughtbot/paperclip development by creating an account on GitHub.

13 pages link to this URL
Rails 4 and Paperclip with S3 + Cloudfront

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.

0 inbound links article en posts
Prevent Spoofing with Paperclip

Paperclip 4.0 and 4.1 contain security fixes to prevent spoofing. A content type or filename validation is also now required.

1 inbound link article en WebRubyPaperclipOpen Source
Deprecating Paperclip

We are deprecating Paperclip in favor of ActiveStorage. Learn what this means for you.

5 inbound links article en NewsPaperclipRuby
Need for Speed

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 …

Persister les conteneurs

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?

0 inbound links fr docker conteneur