lib/backgrounder/orm/data_mapper.rb in carrierwave_backgrounder-0.4.2 vs lib/backgrounder/orm/data_mapper.rb in carrierwave_backgrounder-0.4.3
- old
+ new
@@ -24,10 +24,10 @@
@#{column}_changed = attribute_dirty?(:#{column})
end
def write_#{column}_identifier
super and return if process_#{column}_upload
- self.#{column}_tmp = _mounter(:#{column}).cache_name
+ self.#{column}_tmp = #{column}_cache
end
RUBY
end
private