You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should IpfsService catch duplicate Attachments and remove them? Also getting the last Attachment without a query feels weird, wouldn't it be better to change it to something like Attachment.find_by(blob: new_blob)?
I'll prepare a PR after discussing, thanks!
The text was updated successfully, but these errors were encountered:
Hi, I'm very interested in using this gem and probably send patches. So far I've found this:
Attaching a file twice throws a constraint error:
Should
IpfsService
catch duplicateAttachment
s and remove them? Also getting the lastAttachment
without a query feels weird, wouldn't it be better to change it to something likeAttachment.find_by(blob: new_blob)
?I'll prepare a PR after discussing, thanks!
The text was updated successfully, but these errors were encountered: