Top "Paperclip" questions

Paperclip is a library for the Ruby on Rails framework which makes dealing with file attachments easier.

Paperclip - rename file before saving

I use this method for renaming the image before the saving: def rename_avatar self.avatar.instance_write :file_name, …

ruby-on-rails-3 paperclip file-rename
Active admin multiple file/image upload with paperclip

I use Active admin and I need upload Galleries with a lot of images. How can I do it? My …

ruby-on-rails paperclip activeadmin formtastic
How do I tell paperclip to not save the original file?

How do I tell Paperclip not to save the original file when it is uploaded? Or even better, to store …

ruby-on-rails paperclip
Heading into 2013, should I go with Dragonfly or Paperclip or Carrierwave?

I am just another average joe hoping to jump onto the social network bandwagon. I'd like to know which photo …

ruby-on-rails ruby-on-rails-3 paperclip carrierwave dragonfly-gem
Rails file upload (paperclip) on edit

I made myself a simple rails blogging-type app where I use Paperclip to upload image files.I have everything working …

ruby-on-rails ruby-on-rails-4 amazon-s3 paperclip
Custom thumbnails for file types with Paperclip

I'm using Paperclip with a Ruby on Rails to attach assets to a model, these assets can be any file …

ruby-on-rails image file-upload paperclip thumbnails
Rails - Paperclip - How to Check the Image Dimensions before saving

I have a Rails 3 app with paperclip. I want to prevent images with a width/height of LTE 50x50 from …

ruby-on-rails ruby-on-rails-3 paperclip
Paperclip::Errors::NotIdentifiedByImageMagickError:

use paperclip upload image error: Command :: identify -format %wx%h '/tmp/103120121106-20384-i7dnzy.png[0]' [paperclip] An error …

ruby-on-rails paperclip identify
Not losing paperclip attachment when model cannot be saved due to validation error

The scenario is a normal model that contains a paperclip attachment along with some other columns that have various validations. …

ruby-on-rails validation paperclip attachment
How can I resize a Paperclip image after it has been added to the database?

I've added 2000 pictures to my images table and I'm using the Paperclip plugin to create thumbs. I'm wondering if there's …

ruby-on-rails paperclip