It was working fine for me locally
There was an issue on assignment another S3 attachment object to another object whereas calling #to_file on S3 attachment will create a Tempfile, which would then having a different file name than original version. By caching the filename first before calling #to_file, we're ensuring that filename is the original one. Fixes #9
… it is with s3 storage.
This test will generate a basic Rails application, include Paperclip into Gemfile, and call basic `has_attached_file` in the model. This will make sure that we're not messing up any of the configuration and integration for our gem and the Rails framework.
… is included to Rails However, this will make sure that you can always change it to something else afterward. There's currently no test for this, but after I've tried this with the `integration_test` branch, I can confirm that logs are written to `log/test.log` as it should. Closes #581