Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove Paperclip_delete mixin #12
Instead, we have Document_delete, which will delete any paperclips as required.
In the future I can imagine we might need a more complete mechanism to move attached Documents from one domain object to another, in which case this will need to delete paperclips (which it can do using PaperclipRepository#delete); but I think that it's wrong to expose the ability to simply delete paperclips as a user-invokeable action ... it's too low-level.