Bloc/Smiles — pull request #8 by ppotloff (2012-07-03 07:23:51+00:00)
Title: Smile relationships

Guys,
I am committing what I have so far on the file uploader for smiles. It also has the new/show/index views for smiles. If you don't mind, I would like to see how difficult this is for you to get running on your hosts locally. It works really well using carrierwave. I have posted a few instructions below that will help for a mac. You should be able to upload new smiles via the interface and view a thumbnail index as well as the full size images. If this works well, I'll add the user relationships and S3 storage in short order. Thanks Phil

After the branch is merged and pulled from master:
-run db:migrate
-you will notice new app/uploaders directory with image_uploader config file
-bundle install to pickup new gems
note: On a mac I had to install ImageMagick in order to get the Rmagick gem to install
I used this script to install ImageMagick (it takes about 5 minutes to run): https://github.com/maddox/magick-installer
-This first commit will store images uploaded into your public/uploads/smile directory for your app so you will want to git rm -r public/uploads/smile/* before committing any changes. This won't be an issue once I configure S3.

If you want more info on carrierwave, checkout the github read me:
https://github.com/jnicklas/carrierwave
and also checkout the railscast for what it took to install it:
http://railscasts.com/episodes/253-carrierwave-file-uploads