1. 29 Aug, 2014 1 commit
  2. 11 Mar, 2014 2 commits
    • 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
  3. 31 Jul, 2013 2 commits
  4. 30 Jul, 2013 1 commit
  5. 31 May, 2012 2 commits
  6. 24 Apr, 2012 1 commit
  7. 04 Apr, 2012 1 commit
  8. 23 Mar, 2012 1 commit
  9. 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
  10. 07 Sep, 2011 1 commit