thoughtbot/paperclip — pull request #952 by michiels (2012-07-06 19:45:03+00:00)
Title: Fix wrong path/URL for Fog storage when not passing them as explicit options

This Pull request fixes a bug in the Fog storage which uses Rails.root/public/system from the defaults. Of course, when using Fog and S3 this parts needs to be stripped of.

The S3 Storage already does this and I have added the same logic to the Fog storage. Also added a test to make sure defaults gets followed correctly for the default interpoliations.