1. 29 Aug, 2014 1 commit
  2. 01 Jul, 2014 1 commit
  3. 20 Jun, 2014 1 commit
  4. 11 Mar, 2014 3 commits
    • Changes to get rbx passing · 743e2e00
      First off, sqlite3 needs to be exactly v1.3.8.
      Need to make sure both racc and rubysl are in the Gemfiles.
      RBX's File.join doesn't like nil at all.
      RBX also doesn't like to remove a constant that doesn't exist yet.
      Jon Yurek committed
    • Convert all of the tests from test/unit to RSpec · 1f3a7467
      This is a big one.
      
      This change converts all of the existing tests from test/unit to RSpec.
      It's been a long time coming, and was specifically prompted by the
      inability of minitest to work with Appraisal across the various Rails
      versions. Instead of ironing out that headache, converting to RSpec was
      preferable (after initial probing).
      
      Many assertions are still assertions and are housed in the Assertions
      module, but they should be converted as they get touched. Similarly,
      since we're touching all the tests/specs, we convert all the hashes from
      1.8 syntax to 1.9 syntax.
      Jon Yurek committed
  5. 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
  6. 31 Jul, 2013 2 commits
  7. 30 Jul, 2013 1 commit
  8. 23 Jul, 2013 1 commit
  9. 14 Jun, 2013 2 commits
  10. 24 May, 2013 2 commits
  11. 15 Jun, 2012 3 commits
  12. 31 May, 2012 2 commits
  13. 24 Apr, 2012 1 commit
  14. 04 Apr, 2012 1 commit
  15. 30 Mar, 2012 5 commits
  16. 23 Mar, 2012 2 commits
  17. 09 Mar, 2012 1 commit
    • Change the default :url and :path to avoid conflicts. Closes #727. · 26f4d409
      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
      attachments.
      
      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 committed
  18. 12 Dec, 2011 3 commits
  19. 18 Nov, 2011 1 commit
  20. 21 Oct, 2011 1 commit
  21. 14 Oct, 2011 3 commits
  22. 07 Sep, 2011 1 commit
  23. 29 Jul, 2010 1 commit