Commit a26b8be8f59b7e8b8ab3ab9bd5338f6dadbef545
1 parent
0114f360
Exists in
master
and in
1 other branch
setting up some s3 defaults for paperclip
Showing
1 changed file
with
18 additions
and
0 deletions
Show diff stats
| ... | ... | @@ -0,0 +1,18 @@ |
| 1 | +# has_attached_file :avatar, | |
| 2 | +# :styles => { :thumbnail => "150x150" }, | |
| 3 | +# :path => ":attachment/:id/:style.:extension", | |
| 4 | +# :s3_credentials => "#{RAILS_ROOT}/config/s3.yml", | |
| 5 | + | |
| 6 | +development: &default | |
| 7 | + access_key_id: CHANGEME | |
| 8 | + secret_access_key: CHANGEME | |
| 9 | + bucket: CHANGME_development | |
| 10 | + | |
| 11 | +test: | |
| 12 | + <<: *default | |
| 13 | + bucket: CHANGME_test | |
| 14 | + | |
| 15 | +production: | |
| 16 | + <<: *default | |
| 17 | + bucket: CHANGME_production | |
| 18 | + | ... | ... |