Example: has_attached_file :image, :bucket => "testing", :path => ":attachment/:style/:basename.:extension" :s3_permissions => { :original => :private }, :styles => { :thumb => '80x80>' } The above will allow public read access on :thumb but require credentials for :original. Example of setting default to private: has_attached_file :image, :bucket => "testing", :path => ":attachment/:style/:basename.:extension" :s3_permissions => :private :styles => { :thumb => '80x80>' } The above will set all to private Closes #398
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
fixtures | Loading commit data... | |
matchers | Loading commit data... | |
.gitignore | Loading commit data... | |
attachment_test.rb | Loading commit data... | |
database.yml | Loading commit data... | |
fog_test.rb | Loading commit data... | |
geometry_test.rb | Loading commit data... | |
helper.rb | Loading commit data... | |
integration_test.rb | Loading commit data... | |
interpolations_test.rb | Loading commit data... | |
iostream_test.rb | Loading commit data... | |
paperclip_test.rb | Loading commit data... | |
processor_test.rb | Loading commit data... | |
storage_test.rb | Loading commit data... | |
style_test.rb | Loading commit data... | |
thumbnail_test.rb | Loading commit data... | |
upfile_test.rb | Loading commit data... |