<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>lib/technoweenie/attachment_fu/backends/cloud_file_backend.rb</filename>
    </added>
    <added>
      <filename>rackspace_cloudfiles.yml.tpl</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -102,7 +102,11 @@ module Technoweenie # :nodoc:
         attachment_options[:storage]     ||= parent_options[:storage]
         attachment_options[:path_prefix] ||= attachment_options[:file_system_path]
         if attachment_options[:path_prefix].nil?
-          attachment_options[:path_prefix] = attachment_options[:storage] == :s3 ? table_name : File.join(&quot;public&quot;, table_name)
+          attachment_options[:path_prefix] = case attachment_options[:storage]
+            when :s3: table_name
+            when :cloud_files: table_name
+            else File.join(&quot;public&quot;, table_name)
+          end
         end
         attachment_options[:path_prefix]   = attachment_options[:path_prefix][1..-1] if options[:path_prefix].first == '/'
 </diff>
      <filename>lib/technoweenie/attachment_fu.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>51c4e2768725207e884c3da074be998c0690a87b</id>
    </parent>
  </parents>
  <author>
    <name>H. Wade Minter</name>
    <email>minter@lunenburg.org</email>
  </author>
  <url>http://github.com/technoweenie/attachment_fu/commit/142e697e106c77d00b8d6b1286e1932b9e331598</url>
  <id>142e697e106c77d00b8d6b1286e1932b9e331598</id>
  <committed-date>2009-03-24T11:49:16-07:00</committed-date>
  <authored-date>2009-03-24T11:49:16-07:00</authored-date>
  <message>Initial Rackspace Cloud Files support.</message>
  <tree>d550787c7dfafa58c8a7ffbb9c78573db6d70811</tree>
  <committer>
    <name>H. Wade Minter</name>
    <email>minter@lunenburg.org</email>
  </committer>
</commit>
