diff --git a/lib/clipboard_image_paste/attachment_patch.rb b/lib/clipboard_image_paste/attachment_patch.rb index 5cfc7c0..a21748d 100644 --- a/lib/clipboard_image_paste/attachment_patch.rb +++ b/lib/clipboard_image_paste/attachment_patch.rb @@ -22,7 +22,9 @@ def self.included(base) unloadable #~ alias_method_chain :attach_files, :pasted_images - alias_method_chain :save_attachments, :pasted_images + #~ alias_method_chain :save_attachments, :pasted_images + alias_method :save_attachments_without_pasted_images, :save_attachments + alias_method :save_attachments, :save_attachments_with_pasted_images end end