You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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
The text was updated successfully, but these errors were encountered: