Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh missing styles #57

Closed
daninfpj opened this issue May 8, 2014 · 1 comment
Closed

Refresh missing styles #57

daninfpj opened this issue May 8, 2014 · 1 comment
Milestone

Comments

@daninfpj
Copy link

daninfpj commented May 8, 2014

The paperclip gem includes a rake task (rake paperclip:refresh:missing_styles) to refresh missing styles after deploying.

However, it fails when using mongoid:
undefined method `find_each' for #Mongoid::Criteria:0x00…

There's some suggested fix here:
thoughtbot/paperclip#1064

@tilsammans tilsammans added this to the 1.0.0 milestone Aug 11, 2016
tilsammans added a commit that referenced this issue Aug 12, 2016
this method is used by the refresh task. it needs to use Mongoid syntax
and not ActiveRecord.

Closes #36 #41 #57
(but was already fixed in the released gem)
@tilsammans
Copy link
Collaborator

Was already fixed, added a test in ada3c3f.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants