lib/backgrounder/orm/base.rb in carrierwave_backgrounder-0.3.0 vs lib/backgrounder/orm/base.rb in carrierwave_backgrounder-0.4.0

- old
+ new

@@ -73,9 +73,14 @@ attr_accessor :"process_#{column}_upload" mod = Module.new include mod mod.class_eval <<-RUBY, __FILE__, __LINE__ + 1 + def remove_#{column}=(value) + super + self.process_#{column}_upload = true + end + def write_#{column}_identifier super and return if process_#{column}_upload self.#{column}_tmp = _mounter(:#{column}).cache_name if _mounter(:#{column}).cache_name end