| Name |
Last commit
|
Last Update |
|---|---|---|
| cucumber | ||
| features | ||
| gemfiles | ||
| generators/paperclip | ||
| lib | ||
| shoulda_macros | ||
| test | ||
| .gitignore | ||
| Appraisals | ||
| Gemfile | ||
| Gemfile.lock | ||
| LICENSE | ||
| README.md | ||
| Rakefile | ||
| init.rb | ||
| paperclip.gemspec |
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 |
|---|---|---|
| cucumber | Loading commit data... | |
| features | Loading commit data... | |
| gemfiles | Loading commit data... | |
| generators/paperclip | Loading commit data... | |
| lib | Loading commit data... | |
| shoulda_macros | Loading commit data... | |
| test | Loading commit data... | |
| .gitignore | Loading commit data... | |
| Appraisals | Loading commit data... | |
| Gemfile | Loading commit data... | |
| Gemfile.lock | Loading commit data... | |
| LICENSE | Loading commit data... | |
| README.md | Loading commit data... | |
| Rakefile | Loading commit data... | |
| init.rb | Loading commit data... | |
| paperclip.gemspec | Loading commit data... |