Sha256: a6b56af1cdf6caf47d78beb40f51921b19c332d12768dc1d8f623e28066976a2
Contents?: true
Size: 422 Bytes
Versions: 91
Compression:
Stored size: 422 Bytes
Contents
# encoding: utf-8 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
91 entries across 86 versions & 9 rubygems