lib/delayed_paperclip/attachment.rb in delayed_paperclip-2.4.5.0 vs lib/delayed_paperclip/attachment.rb in delayed_paperclip-2.4.5.1
- old
+ new
@@ -44,9 +44,16 @@
end
def post_process_styles_with_processing(*args)
post_process_styles_without_processing(*args)
instance.update_attribute("#{name}_processing", false) if instance.respond_to?(:"#{name}_processing?")
+
+ # instance.update_column("#{name}_processing", false) if instance.respond_to?(:"#{name}_processing?")
+ #
+ # if instance.respond_to?(:"#{name}_processing?")
+ # instance.send("#{name}_processing=", false)
+ # instance.class.update_all({ "#{name}_processing" => false }, instance.class.primary_key => instance.id)
+ # end
end
def save_with_prepare_enqueueing
was_dirty = @dirty
save_without_prepare_enqueueing.tap do