Hi,
I use attachment_fu in one of my apps and recently I’ve realized that
udpates are taking too much time. After some debugging I’ve found that
attachment_fu is calling after_attachment_saved callback no mather if
attachemnt has changed or not.
For example this code:
after_attachment_saved do |photo|
logger.info “after_attachment_saved”
end
in console - always logging “after_attachment_saved” to logs
no mather if attachment changed or not
Photo.find(1).save
Could anyone check if after_attachment_saved triggers only when
attachment is actually saved? I don’t know if it’s my mistake or bug
in attachment_fu.