spree/spree — pull request #1657 by kasperbn (2012-06-11 20:57:54+00:00)
Title: Added attachment_url to support AWS S3 in EU

When using a EU bucket on S3, the url format changes to http://bucketname.s3.amazonaws.com.
This pull request makes it possible to use S3 EU with the following configuration:

Spree.config do |config|
config.site_name = "Spree Title"
config.use_s3 = true
config.s3_access_key = "YOUR_ACCESS_KEY"
config.s3_secret = "YOUR_SECRET"
config.s3_bucket = "YOUR_EU_BUCKET"
config.attachment_url = ":s3_domain_url"
end