<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -47,6 +47,8 @@ has_attachment(options = {})
     :partition        # Whether to partiton files in directories like /0000/0001/image.jpg. Default is true. Only applicable to the :file_system backend.
     :storage          # Specifies the storage system to use..
                       # Defaults to :db_file.  Options are :file_system, :db_file, and :s3.
+    :cloudfront       # If using S3 for storage, this option allows for serving the files via Amazon CloudFront.
+                      # Defaults to false.
     :processor        # Sets the image processor to use for resizing of the attached image.
                       # Options include ImageScience, Rmagick, and MiniMagick.  Default is whatever is installed.
     :uuid_primary_key # If your model's primary key is a 128-bit UUID in hexadecimal format, then set this to true.
@@ -67,6 +69,7 @@ has_attachment(options = {})
     has_attachment :storage =&gt; :file_system, :path_prefix =&gt; 'public/files',
                    :thumbnails =&gt; { :thumb =&gt; [50, 50], :geometry =&gt; 'x50' }
     has_attachment :storage =&gt; :s3
+    has_attachment :store =&gt; :s3, :cloudfront =&gt; true
 
 validates_as_attachment
   This method prevents files outside of the valid range (:min_size to :max_size, or the :size range) from being saved.  It does not however, halt the upload of such files.  They will be uploaded into memory regardless of size before validation.</diff>
      <filename>README</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>48639bfdf142eefe2a32b54a09a039b924fcc3e7</id>
    </parent>
  </parents>
  <author>
    <name>Micah Wedemeyer</name>
    <email>micah@aisleten.com</email>
  </author>
  <url>http://github.com/martinstannard/attachment_fu/commit/51c4e2768725207e884c3da074be998c0690a87b</url>
  <id>51c4e2768725207e884c3da074be998c0690a87b</id>
  <committed-date>2009-03-15T09:36:27-07:00</committed-date>
  <authored-date>2009-03-15T09:36:27-07:00</authored-date>
  <message>Updated README to add CloudFront options.</message>
  <tree>924cfc916bb29c2e2a5a6249eceed5d2b68717a9</tree>
  <committer>
    <name>Micah Wedemeyer</name>
    <email>micah@aisleten.com</email>
  </committer>
</commit>
