technoweenie / attachment_fu

Treat an ActiveRecord model as a file attachment, storing its patch, size, content type, etc.
http://weblog.techno-weenie.net
MIT License
1.02k stars 337 forks source link

Server Setting Missing In Config File #32

Open bitmage opened 13 years ago

bitmage commented 13 years ago

I was getting a connection refused error while using attachment_fu with S3. I found that while in the 's3sh' console the server variable gets set to 's3.amazonaws.com', within my app it was nil. Setting this in the amazon_s3.yml file solved the problem:

server: s3.amazonaws.com

This should probably be included in the config example.