jnunemaker/joint — pull request #13 by jamieorc (2011-11-23 20:23:20+00:00)
Title: Mm 0.9.x

I forked and updated code with fixes and tests for EmbeddedDocument use.

new class method "nullify_nil_attachments_attributes()" called before_save
class method "destroy_nil_attachments()" now only calls gid.delete(id) after_save
changed @nil_attachments from Set to Hash key is still name, value is the file id
these changes obviate the need for calling set() after_save, so works with EmbeddedDocument

PS: not sure how to send pull request for the MM-0.8.x branch. Perhaps you can branch from v0.5.5 and I can send a pull request to that.