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
I'm not sure wether this is a bug or by design, when the before_post_process filter returns false, the processing is halted but the resource_processing field is not updated.
And after switching to delayed_paperclip 2.4.5.1 (and paperclip 2.4.5) I had to adapt my code to :
before_post_process:image?process_in_background:resourcedefimage?returntrueifresource_content_type =~ /image/self.update_attribute(:resource_processing,false)# Had to add this line falseend
Or is there a different way to come around this problem?
The text was updated successfully, but these errors were encountered:
malandrina
pushed a commit
to hoteltonight/delayed_paperclip
that referenced
this issue
Feb 21, 2014
I'm not sure wether this is a bug or by design, when the before_post_process filter returns false, the processing is halted but the resource_processing field is not updated.
I used to have this code
And after switching to delayed_paperclip 2.4.5.1 (and paperclip 2.4.5) I had to adapt my code to :
Or is there a different way to come around this problem?
The text was updated successfully, but these errors were encountered: