Top "Paperclip" questions

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

How can I set paperclip's storage mechanism based on the current Rails environment?

I have a rails application that has multiple models with paperclip attachments that are all uploaded to S3. This app …

ruby-on-rails amazon-s3 paperclip
Paperclip: How to store a picture in a Rails console?

I tried storing a local image in a rails console. Because I have many pictures in my local storage (I …

ruby-on-rails ruby-on-rails-3 console paperclip
File upload with Sinatra

I am trying to be able to upload files with Sinatra. I have the code here, but I'm getting the …

ruby file-upload sinatra paperclip
rails - Paperclip file name

using rails with Paperclip, I can use the following to get the filename during a before_create: extension = File.extname(…

ruby-on-rails ruby ruby-on-rails-3 paperclip
How to do Rails migration involving Paperclip

How do people write their Rails migrations that involve Paperclip? I feel that I might be missing something obvious as …

ruby-on-rails paperclip rails-migrations
Rails 3 paperclip vs carrierwave vs dragonfly vs attachment_fu

I'm working on upgrading a Rails 2.3.11, Ruby 1.9.2 app to Rails 3.0.10, and attachment_fu no longer works. I'm looking at changing …

ruby-on-rails-3 paperclip carrierwave attachment-fu dragonfly-gem
Get server file path with Paperclip

I'm using Rails with Paperclip to make a small file upload app. I would like to be able to return …

ruby-on-rails ruby file-upload paperclip
How do you access the raw content of a file uploaded with Paperclip / Ruby on Rails?

I'm using Paperclip / S3 for file uploading. I upload text-like files (not .txt, but they are essentially a .txt). In …

ruby-on-rails paperclip
How do I find an image on a page with Cucumber / Capybara in Rails 3

I am using Cucumber / Capybara with Rails 3 and am trying to validate the existence of an image after upload. I'm …

ruby-on-rails cucumber paperclip
Saving files using Paperclip without upload

I had a quick question. Is it possible to save a file without actually uploading it through a form? For …

ruby-on-rails paperclip