Refresh with embedded models #22

Open
pacovell opened this Issue Dec 30, 2011 · 2 comments

Comments

Projects
None yet
3 participants
@pacovell
Contributor

pacovell commented Dec 30, 2011

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.

@scottbaggett

This comment has been minimized.

Show comment Hide comment
@scottbaggett

scottbaggett Apr 17, 2012

I also am running in to this issue. Is there a solution?

I also am running in to this issue. Is there a solution?

@antoineherzog

This comment has been minimized.

Show comment Hide comment
@antoineherzog

antoineherzog Jun 30, 2012

I have the same issue ...

I have the same issue ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment