2016 design

This commit is contained in:
Godwin
2016-05-09 21:35:26 -07:00
parent a83bd6e800
commit eaafa339c8
190 changed files with 4666 additions and 1290 deletions
+1
View File
@@ -11,6 +11,7 @@ namespace :carrierwave do
desc "Reprocess all images for a given class."
args[:class].constantize.all.each do |object|
begin
CarrierWave.clean_cached_files!
object.update_attribute(args[:mount_uploader].to_sym, object.instance_eval(args[:mount_uploader]))
rescue
false