Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Mar 20, 2012

  1. Chris Mather

    attachment assign method can take a hash for s3 direct upload scenarios


Mar 16, 2012

  1. Mathieu Martin

    Make this yet dramatically faster when a lot of the models don't have…

    … attachments
    webmat authored Sporky023 committed
  2. Mathieu Martin

    Load models in batches, to make this more practical for large datasets.

    Note: find_each doesn't support order because it already specifies it.
    And it happens to be 'id' as well.
    webmat authored Sporky023 committed
  3. Luke Griffiths

    Added test for webmat's fix

    Sporky023 authored

Mar 12, 2012

  1. Mathieu Martin

    Make sure Paperclip doesn't raise an exception when using a numeric s…

    …tyle name
    webmat authored
  2. Prem Sichanugrist

    Merge pull request #780 from kronn/patch-1

    minor typo in explanatory rdoc-comment
    sikachu authored
  3. Matthias Viehweger

    minor typo in explanatory rdoc-comment

    kronn authored

Mar 09, 2012

  1. Mike Burns

    Change the default :url and :path to avoid conflicts. Closes #727.

    The new default :path and :include include the name of the model and
    also nests the model ID under a series of subdirectories, improving
    filesystem access speed when more than 1024 models have saved
    The easiest way to upgrade is to add an explicit :url and :path to your
    has_attached_file calls:
        has_attached_file :avatar,
          :path => ":rails_root/public/system/:attachment/:id/:style/:filename",
          :url => "/system/:attachment/:id/:style/:filename"
    mike-burns authored

Mar 05, 2012

  1. Mike Boone

    Do not add duplicate paths to Cocaine::CommandLine.path for each run.

    boone authored

Mar 02, 2012

  1. Prem Sichanugrist

    Fix whitespace

    sikachu authored
  2. beachbc

    Added tests for passing S3 credentials as a proc.

    Fixes #738
    beachbc authored sikachu committed
  3. Joshua Clayton


    joshuaclayton authored sikachu committed
  4. Joshua Clayton

    Don't define methods in shoulda contexts

    joshuaclayton authored sikachu committed
  5. Joshua Clayton

    Pass aditional parameters to S3 expiring urls

    This adds functionality to add additional params to the querystring for
    S3 expiring URLs. The reason for this is if you want to override
    response_content_type or response_content_disposition with expiring
    URLs, you have to change Amazon's signature, which gets signed before
    adding additional options to the querystring. Because it's added later,
    and because Amazon's signature includes the full URL, the signature is
    bad and the request fails.
    To use this feature:
        has_attached_file :avatar,
                          :s3_url_options => { :response_content_disposition => "inline" }
    Additionally, you can pass a lambda and it'll be evaluated when the URL
    is generated. If, for example, the content type is incorrect in Amazon
    (either empty or application/octet-stream), you can effectively cast the
    response from Amazon as a particular content type.
        has_attached_file :avatar,
                          :s3_url_options => lambda {|model| { :response_content_type => model.avatar_content_type } }
    joshuaclayton authored sikachu committed
  6. Gabe Berke-Williams


    gabebw authored
  7. Prem Sichanugrist

    Remove all the deprecated method

    We've deprecate these method for a while, it's time to remove it.
    sikachu authored
  8. Prem Sichanugrist

    Update README

    Fixes #723
    sikachu authored
  9. Prem Sichanugrist

    Skip post processing on the size matcher

    Fixes #646
    sikachu authored
  10. Mike Burns

    Merge branch 'flush_writes-rewind' of…

    mike-burns authored
  11. Mike Burns

    Fix the events example to read as if I know what a Boolean is.

    mike-burns authored

Mar 01, 2012

  1. Robert Pankowecki

    Updated "Events" section in README to include example of hook for ski…

    …pping post processing.
    paneq authored
  2. rewind files in flush_writes method of s3 and fog storage

    Jesse Cantara authored

Feb 29, 2012

  1. Prem Sichanugrist

    Remove obsolete `aws/s3` stuff

    `AWS::S3::Base.establish_connection!` is not on the `aws/sdk`, and this code doesn't get used anymore.
    sikachu authored

Feb 24, 2012

  1. Prem Sichanugrist

    Stop testing with rbx, start testing with 1.9.3

    sikachu authored
  2. Mike Burns

    Bump to 2.7.0

    mike-burns authored
  3. Mike Burns

    Merge branch 'master' of

    mike-burns authored
  4. Mike Burns

    Revert "Paperclip#run now respects swallow_stderr setting. Fix for #741"

    This reverts commit 58671eb.
    I am reverting this because the tests broke and because the code itself
    looks hideous.
    mike-burns authored

Feb 23, 2012

  1. Prem Sichanugrist

    Merge pull request #753 from pcg79/master

    Removes the redundant term "file size"
    sikachu authored
  2. Pat George

    Fixed error message on validates_attachment_size to not include the t…

    …erm 'file size' twice.
    pcg79 authored

Feb 19, 2012

  1. Tom Hughes

    Clear the fingerprint when an attachment is removed

    tomhughes authored

Feb 17, 2012

  1. Prem Sichanugrist

    Lock `aws-sdk` version in the readme

    sikachu authored
  2. Prem Sichanugrist

    Update Rails dependency, add Rails 3.2.x

    sikachu authored
  3. Prem Sichanugrist

    Check for existance of class_attribute setter

    sikachu authored
  4. Prem Sichanugrist

    Merge pull request #742 from apolzon/respect_swallow_stderr_option_wh…

    Paperclip#run now respects swallow_stderr setting. Fix for #741
    sikachu authored
  5. Prem Sichanugrist

    S3::Object now throws error if the object doesn't exists

    Fixes #743
    sikachu authored
Something went wrong with that request. Please try again.