Top "Paperclip" questions

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

Get absolute URL for paperclip attachment

Is it possible to get the absolute URI for a Paperclip attachment? Right now, the problem is that the production …

ruby-on-rails paperclip
Resize an image with Paperclip

The Paperclip plugin for Rails has a resize option that keeps the image in proportion. According to Ryan Bates' Paperclip …

ruby-on-rails file-upload image-manipulation imagemagick paperclip
Simple cropping with Paperclip

I would like to crop images on upload using Paperclip to get square thumbs from the center of the original …

ruby-on-rails ruby paperclip crop
NameError (uninitialized constant Paperclip::Storage::S3::AWS):

I'm trying to incorporate images into my web app and I keep running into this error after removing quite a …

ruby-on-rails ruby amazon-web-services paperclip
Unit testing paperclip uploads with Rspec (Rails)

Total Rspec noob here. Writing my first tests tonight. I've got a model called Image. Using paperclip I attach a …

ruby-on-rails unit-testing rspec paperclip
Failing to install Nokogiri gem

I'm working on a rails app that allows for image attachments to each use account. I'm using paperclip and amazon …

ruby-on-rails ruby rvm paperclip nokogiri
How can I get url for paperclip image in to_json

I have a model that uses paperclip like this: has_attached_file :avatar, :styles => { :large => "100x100>" , :medium =&…

ruby-on-rails paperclip
Plupload Automatically start upload when files added

When files are added i want to start the upload process automatically. I called the start function at the end …

javascript ruby-on-rails-3 paperclip plupload
How to validate file content type to pdf, word, excel, and plain text for paperclip?

In my model: has_attached_file :uploaded_file, :url => "/policy_documents/get/:id", :path => "/public/policy_documents/:id/:…

ruby-on-rails-3 paperclip
rails paperclip and passenger `is not recognized by the 'identify' command`

When I upload a photo, my model fails validation, err well even without any validations I'm returned this error: /tmp/…

ruby-on-rails paperclip