Sha256: c66a643aa9204a11461304e49501b9a3bae8dbd3fbb81c69c805b85488499407
Contents?: true
Size: 403 Bytes
Versions: 41
Compression:
Stored size: 403 Bytes
Contents
module CarrierWave module Uploader module Remove extend ActiveSupport::Concern include CarrierWave::Uploader::Callbacks ## # Removes the file and reset it # def remove! with_callbacks(:remove) do @file.delete if @file @file = nil @cache_id = nil end end end # Remove end # Uploader end # CarrierWave
Version data entries
41 entries across 41 versions & 3 rubygems