From 7c598fbe61d696e0d0a2c1d8131fc601495ac37a Mon Sep 17 00:00:00 2001 From: Jon Yurek Date: Fri, 12 Sep 2008 17:13:14 -0400 Subject: [PATCH] Documentation for buckets in the s3.yml --- lib/paperclip/storage.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/paperclip/storage.rb b/lib/paperclip/storage.rb index cd9dcc10d..368f295fb 100644 --- a/lib/paperclip/storage.rb +++ b/lib/paperclip/storage.rb @@ -80,7 +80,10 @@ def flush_deletes #:nodoc: # This is not required, however, and the file may simply look like this: # access_key_id: 456... # secret_access_key: 456... - # In which case, those access keys will be used in all environments. + # In which case, those access keys will be used in all environments. You can also + # put your bucket name in this file, instead of adding it to the code directly. + # This is useful when you want the same account but a different bucket for + # development versus production. # * +s3_permissions+: This is a String that should be one of the "canned" access # policies that S3 provides (more information can be found here: # http://docs.amazonwebservices.com/AmazonS3/2006-03-01/RESTAccessPolicy.html#RESTCannedAccessPolicies)