title: problem when uploading photos to Amazon s3 using paperclip
body: <p>my model:</p>
  
  <pre><code>  has_attached_file :avatar, :styles =&gt; { :thumb =&gt; "65x65&gt;" },
    :storage =&gt; :s3,
    :s3_credentials =&gt; "#{RAILS_ROOT}/config/s3.yml",
    :bucket =&gt; "doweet-image", 
    :path =&gt; ":attachment/:id/:style.:extension"
  </code></pre>
  
  <p>when i'm uploading an image to amazon s3, and putting this on the view:</p>
  
  <pre><code>&lt;%= image_tag(current_user.avatar.url(:small))%&gt;
  </code></pre>
  
  <p>the photo does not show up, and when i'm copy the link the src photo this is:</p>
  
  <pre><code>http://s3.amazonaws.com/doweet-image/avatars/1/small.jpg?1311356386
  </code></pre>
  
  <p>and when i going to the link i'm getting there this error:</p>
  
  <pre><code>This XML file does not appear to have any style information associated with it. The document tree is shown below.
  &lt;Error&gt;
  &lt;Code&gt;AccessDenied&lt;/Code&gt;
  &lt;Message&gt;Access Denied&lt;/Message&gt;
  &lt;RequestId&gt;152EBFC9033E6633&lt;/RequestId&gt;
  &lt;HostId&gt;
  Iw3zWXuCC6JjPAJig+pBVqQbLilN4dmTY4VooVO5CVKCH3O/MN3VDawXbI6Zd5NP
  &lt;/HostId&gt;
  &lt;/Error&gt;
  </code></pre>