Skip to content

History / How to: Create random and unique filenames for all versioned files

Revisions

  • Updated How to: Create random and unique filenames for all versioned files (markdown)

    @yesmeck yesmeck committed Aug 28, 2013
  • Fix typo

    @TimPetricola TimPetricola committed Aug 27, 2013
  • Reset secure token to bust browser image caching

    @agorf agorf committed Jul 7, 2013
  • Clearly state how unique SecureRandom.uuid is and add gotcha to recreate_versions!

    @stravid stravid committed Jun 28, 2013
  • fix highlight

    @FoboCasteR FoboCasteR committed May 10, 2013
  • Didn't know where to put `before :cache`

    @Olathe Olathe committed Jan 6, 2013
  • changed the filename method in PhotoUploader to actually return the random filename. Got rid of @filename ||=

    @alexbrand alexbrand committed Dec 25, 2012
  • Updated How to: Create random and unique filenames for all versioned files (markdown)

    @kavu kavu committed Sep 24, 2012
  • Obvious in retrospect, but it took me a couple hours of mistakes before finding the best way of doing this. I figured a small paragraph would be useful for others so they don't make the same mistakes I made.

    @HurricaneJames HurricaneJames committed Jun 28, 2012
  • Updated How to: Create random and unique filenames for all versioned files (markdown)

    @clyfe clyfe committed Mar 8, 2012
  • added a workaround to keep encoded name when we send recreate_versions!

    kdisneur-silicon committed Feb 27, 2012
  • Updated How to: Create random and unique filenames for all versioned files (markdown)

    @pch pch committed Feb 8, 2012
  • Updated How to: Create random and unique filenames for all versioned files (markdown)

    ilyakatz committed Dec 7, 2011
  • Updated How to: Create random and unique filenames for all versioned files (markdown)

    @porras porras committed Sep 28, 2011
  • Without setting the @name variable, filename is generated multiple times and causes a different name to be saved to S3 if used via Fog.

    bdclimber14 committed Aug 15, 2011
  • Updated How to: Random and unique filenames (markdown)

    @iwasrobbed iwasrobbed committed Aug 4, 2011