mongoid-paperclip
mongoid-paperclip copied to clipboard
Refresh with embedded models
The paperclip refresh &c commands are broken with embedded models, since it attempts to load from the top level:
$ rake RAILS_ENV=staging paperclip:refresh:missing_styles
Regenerating Image -> photo -> [:background, :thumb]
rake aborted!
Access to the collection for Image is not allowed since it is an embedded document, please access a collection from the root document.
Any ideas on the most efficient way to solve this? I'm happy to make a stab at it.
I also am running in to this issue. Is there a solution?
I have the same issue ...