Emil Bækdahl
Emil Bækdahl

Reputation: 129

Two Paperclip attachments pointing to same file

Is it possible to copy a Paperclip attachment from one model to another without creating new files? In other words: Can two Paperclip instances point to the same file?

Upvotes: 0

Views: 40

Answers (1)

spickermann
spickermann

Reputation: 106972

No, Paperclip doesn't support this.

And even if you managed to do this manually by manipulating values in the database, imagine what will happen, if one of the records is deleted...

Upvotes: 3

Related Questions