has_attached_file :image,
:styles => { :medium => "300x300", :thumb => "100x100"},
:default_url => '/assets/missing.png',
:storage => :s3,
:s3_credentials => {
:bucket => '#####',
:access_key_id => '#####',
:secret_access_key => '#####'
}
在这里,我使用AWS来存储我的图像。但我想将这些图像存储在我的个人服务器上。