On 17 Jan 2013, at 18:30, Jim Gay <j...@saturnflyer.com> wrote:

> I'd love to have that. I think we'd need to create an adapter for the
> paperclip gem which handles the uploads.
> Currently you can do S3, file system, and I think rackspace cloud
> files (not sure about that though)


There's a paperclip-dropbox gem that looks quite mature. In theory you could 
just install that and configure paperclip to use it. The configuration 
mechanism John wrote for clipped is quite fog-specific, but if you're not using 
fog then those extra settings won't have any effect. It might just work.

These days I think a better way to configure paperclipped is by setting 
config.paperclip_defaults in an environment file and overriding them only 
minimally in the model. It keeps the configuration out of your code and makes 
it easy to use different storage for development and production. The best 
option might be to drop the whole configuration mechanism and require people to 
configure in the radiant app.

best,

Will

Reply via email to