Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Mar 20, 2012
Commits on Mar 16, 2012
  1. @webmat @Sporky023

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

    webmat authored Sporky023 committed
    … attachments
  2. @webmat @Sporky023

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

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

    Added test for webmat's fix

    Sporky023 authored
Commits on Mar 12, 2012
  1. @webmat
  2. @sikachu

    Merge pull request #780 from kronn/patch-1

    sikachu authored
    minor typo in explanatory rdoc-comment
  3. @kronn
Commits on Mar 9, 2012
  1. @mike-burns

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

    mike-burns authored
    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"
Commits on Mar 5, 2012
  1. @boone
Commits on Mar 2, 2012
  1. @sikachu

    Fix whitespace

    sikachu authored
  2. @beachbc @sikachu

    Added tests for passing S3 credentials as a proc.

    beachbc authored sikachu committed
    Fixes #738
  3. @joshuaclayton @sikachu


    joshuaclayton authored sikachu committed
  4. @joshuaclayton @sikachu

    Don't define methods in shoulda contexts

    joshuaclayton authored sikachu committed
  5. @joshuaclayton @sikachu

    Pass aditional parameters to S3 expiring urls

    joshuaclayton authored sikachu committed
    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 } }
  6. @gabebw


    gabebw authored
  7. @sikachu

    Remove all the deprecated method

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

    Update README

    sikachu authored
    Fixes #723
  9. @sikachu
  10. @mike-burns
  11. @mike-burns
Commits on Mar 1, 2012
  1. @paneq
Commits on Feb 29, 2012
  1. @sikachu

    Remove obsolete `aws/s3` stuff

    sikachu authored
    `AWS::S3::Base.establish_connection!` is not on the `aws/sdk`, and this code doesn't get used anymore.
Commits on Feb 24, 2012
  1. @sikachu
  2. @mike-burns

    Bump to 2.7.0

    mike-burns authored
  3. @mike-burns
  4. @mike-burns

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

    mike-burns authored
    This reverts commit 58671eb.
    I am reverting this because the tests broke and because the code itself
    looks hideous.
Commits on Feb 23, 2012
  1. @sikachu

    Merge pull request #753 from pcg79/master

    sikachu authored
    Removes the redundant term "file size"
  2. @pcg79
Commits on Feb 19, 2012
  1. @tomhughes
Commits on Feb 17, 2012
  1. @sikachu
  2. @sikachu
  3. @sikachu
  4. @sikachu

    Merge pull request #742 from apolzon/respect_swallow_stderr_option_wh…

    sikachu authored
    Paperclip#run now respects swallow_stderr setting. Fix for #741
  5. @sikachu
Something went wrong with that request. Please try again.