Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Dec 7, 2012
  1. @jonberke @jyurek
Commits on Nov 2, 2012
  1. @lemoinem

    [filesystem storage] Create :override_file_permissions option

    lemoinem authored djcp committed
    This allows you to set custom file permissions on files created by
    Paperclip.  Set the :override_file_permissions option to the octal file
    permission you want - 0666 is the default. If you set
    :override_file_permissions to false, then we will skip the explicit
    chmod entirely. This makes filesystem storage a bit friendlier to filesystems
    that don't support unix file permissions.
Commits on Sep 14, 2012
  1. @mschulkind @jyurek

    Fix a failing test.

    mschulkind authored jyurek committed
    Fixes #913
  2. @mschulkind @jyurek

    Fix a test to really test what it says.

    mschulkind authored jyurek committed
    Fixes #913.
Commits on Jul 13, 2012
  1. @tamc @sikachu

    Extra tests for #947 to check works in more situations

    tamc authored sikachu committed
  2. @tamc @sikachu

    Test for #947 copying attachments between models should succeed when …

    tamc authored sikachu committed
    …the attachment is empty
Commits on Jul 4, 2012
  1. @sikachu
Commits on Jun 15, 2012
  1. @sikachu
Commits on May 4, 2012
  1. @sikachu
  2. @sikachu

    Fix a potential bug when user turn on AWS logging

    sikachu authored
    This should fix an error when the user has turn on AWS logging while
    and upload a file with non-English filename, as `aws-sdk` logger is not
    encoding aware.
    The problem was that the string returned from another logger methods
    is in `US-ASCII`, while the string returned from Paperclip would be in
    `UTF-8`. When the logger calls `#join` on those strings, Ruby would
    raise an exception.
    This solution is not the best, as it involves a monkey-patching, but
    should make sure that the upload goes through without any hiccup. For
    the long run, I'm going to send a patch to `aws-sdk` and also make
    Paperclip require at least `aws-sdk > 1.4.1`
  3. @sikachu

    Cleanup integration test

    sikachu authored
    We've changed some of the setting and some of the S3 tests got ignored.
    This should make sure that the tests are really passing, after the
    changes to IO Adapter.
  4. @sikachu

    Symbolize all the style keys

    sikachu authored
    This will prevent a pitfall as sometime the style's name can be a string.
Commits on Apr 17, 2012
  1. @sikachu

    Close ALL the files

    sikachu authored
    Make sure that we close opened files after we're done with them.
Commits on Mar 30, 2012
  1. @sikachu
  2. @jyurek

    Adds IO adapters to abstract the things that can be assigned.

    jyurek authored
    Needs work for S3 Attachments.
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 2, 2012
  1. @sikachu

    Remove all the deprecated method

    sikachu authored
    We've deprecate these method for a while, it's time to remove it.
Commits on Feb 6, 2012
  1. @kreynolds
Commits on Sep 23, 2011
  1. @danielevans @sikachu

    Cleaning up the downloaded original file if it is a tempfile, such as…

    danielevans authored sikachu committed
    … it is with s3 storage.
Commits on Aug 16, 2011
  1. @murbanski
Commits on Jun 30, 2011
  1. @sikachu
Commits on Jun 29, 2011
  1. @sikachu

    Honor umask. Thank you @sbfaulkner

    sikachu authored
    Closes #214
Commits on Jun 28, 2011
  1. @jyurek

    Add a #to_param interpolation

    jyurek authored
Commits on Jun 24, 2011
  1. @sikachu

    Add test case for #285

    sikachu authored
Commits on Mar 9, 2011
  1. @jyurek

    selectively reprocessing attachment styles

    yar authored jyurek committed
Commits on Jan 14, 2011
  1. @tilsammans
Commits on Nov 9, 2010
  1. @lardawge
Commits on Aug 18, 2010
  1. @tilsammans

    Rescue from permission errors during reprocessing of thumbnails.

    tilsammans authored
    In my opinion, a permission error should not result in the entire
    reprocessing job being terminated. Especially for large amounts of
    files, it's to be expected one or two have various permission issues.
    Instead of exiting, now simply print a warning to stderr.
Commits on Aug 16, 2010
  1. @jyurek
Commits on Jul 11, 2010
  1. @jyurek
Commits on Jun 7, 2010
  1. @joshuaclayton

    Clean up whitespace

    joshuaclayton authored
Commits on Aug 4, 2009
  1. @jyurek
Commits on Mar 12, 2009
  1. @jyurek
Commits on Feb 22, 2009
  1. @rob-at-thewebfellas @jyurek

    Moved style solidification to the post_process method, this also fixe…

    rob-at-thewebfellas authored jyurek committed
    …s the reprocess! method
Commits on Feb 8, 2009
  1. @jyurek
Something went wrong with that request. Please try again.