Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (6 sloc) 1015 Bytes

Paperclip Example

This is just a sample app created by following the simple example at

I tested this using Rails 2.3.3 and Ruby 1.8.7 on both Ubuntu and CentOS.

The main difference from the examples is that I was unable to get form_for :user working and so changed it to form_for @user instead. I also added a second attachment, :pic1, to test multiple uploads.

My hope is that this will make it easier for anyone having trouble using Paperclip, so that they can easily clone this public repository and attempt to run it in order to test whether or not Paperclip is working for them. Obviously the normal installation procedure at applies here – namely making sure ImageMagick is installed and possibly (not sure) running the rake:install and rake:unpack commands.

If you're a noob and notice something potentially wrong, misleading, or lacking from this example, just let me know. I'm a noob too.

Something went wrong with that request. Please try again.