qoobaa/s3 — Issue #56: paperclip/attachment_fu (3rd party) integration:: ease by moving files from /extra to /lib/extra
Author: duonoid
Created: 2011-10-27 23:34:19+00:00
State: open

Current instructions for paperclip integration (extra/s3_paperclip.rb) begin with, "Copy the file to: ..."

Attempting to avoid copy/paste and manual merging/synchronization with upstream:

It seems that if 'extra/s3_paperclip.rb' were in the rubygems load path instead (in /lib), that we could do this in an initializer instead:

`require 'paperclip/storage/s3' # load code to be monkey-patched
require 's3/extra/s3_paperclip' # patch`

thx!