qoobaa/s3

paperclip/attachment_fu (3rd party) integration:: ease by moving files from /extra to /lib/extra

duonoid opened this issue · 2 comments

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!

Does the paperclip integration still work? Could you please make a pull request?

I think it's better to move those "extras" to separate gems.