1. 31 Jan, 2014 1 commit
    • Raise unless content type or name validation · 38c51d6f
      It is now a requirement for attachments to do one of three things:
        1. Have a content_type validation (e.g. "image/*")
        2. Have a filename validation (e.g. *.png, *.gif)
        3. Explicitly *not* have one of those validations
      
      The intent is to make the default more secure, and you have to
      explicitly reject the security of a validation in order to not have one.
      Jon Yurek committed
  2. 29 Jan, 2014 5 commits
  3. 03 Jan, 2014 1 commit
    • Delegate binmode and binmode? in AbstractAdapter · 6a6f8552
      AbstractAdapter wasn't delegating `binmode` or `binmode?` to the
      underlying @tempfile object. `binmode` is useful for cases where the
      Adapter object gets handed on to another library expecting an `IO`
      object holding image data. We ran into this with Prawn and people using
      `prawnto` in conjunction with Paperclip. Prawn wants to ensure the `IO`
      is in binmode for embedding the image data.
      Matt Patterson committed
  4. 20 Dec, 2013 1 commit
  5. 01 Nov, 2013 1 commit
  6. 25 Oct, 2013 2 commits
  7. 28 Aug, 2013 1 commit
  8. 16 Aug, 2013 2 commits
  9. 18 Jul, 2013 1 commit
  10. 16 Jul, 2013 1 commit
  11. 01 Feb, 2013 1 commit
  12. 07 Dec, 2012 1 commit
  13. 03 Nov, 2012 1 commit
  14. 19 Oct, 2012 1 commit
  15. 07 Sep, 2012 1 commit
  16. 20 Jul, 2012 1 commit
  17. 22 Jun, 2012 2 commits
  18. 15 Jun, 2012 4 commits
  19. 08 Jun, 2012 3 commits
  20. 06 Jun, 2012 1 commit
  21. 31 May, 2012 1 commit
  22. 25 May, 2012 2 commits
  23. 04 May, 2012 1 commit