Skip to content

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

Revisions

  • typo

    @ppostma ppostma committed Oct 2, 2020
  • Mention unguessable reproducible store directories as an alternative

    @schmijos schmijos committed Apr 24, 2019
  • fix previous multi upload version

    @AdrienGiboire AdrienGiboire committed Mar 20, 2017
  • propose an example to manage multiple files upload

    @AdrienGiboire AdrienGiboire committed Mar 13, 2017
  • Ruby 1.8.7 notes for the poor souls stuck there

    @s01ipsist s01ipsist committed Aug 12, 2015
  • delete extra space

    @lihanli lihanli committed Feb 13, 2015
  • Added a special note about using SecureRandom for Directory Names

    @marcamillion marcamillion committed Aug 30, 2014
  • 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 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