We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can include a timestamp in filenames overriding the filename as you can read in Carrierwave docs:
filename
class PhotoUploader < CarrierWave::Uploader::Base def filename @name ||= "#{Time.now.to_i}-#{super}" if super.present? end end
Don't forget to memoize the result in an instance variable or you might get different timestamps written to the database and the file store.
(Related: How to: Create random and unique filenames for all versioned files)