Skip to content
This repository
Browse code

When testing if post_processing is set, the method should be used. Th…

…is allows plugins to overwrite the post_processing decision. This is useful for plugins that want to do the post_processing in a background processor.
  • Loading branch information...
commit e645aafa05758b337a2ae04e1a8b94493a392630 1 parent 7478455
Bert Goethals Bertg authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/paperclip/attachment.rb
2  lib/paperclip/attachment.rb
@@ -135,7 +135,7 @@ def assign uploaded_file
135 135
136 136 @dirty = true
137 137
138   - post_process(*@only_process) if @post_processing
  138 + post_process(*@only_process) if post_processing
139 139
140 140 # Reset the file size if the original file was reprocessed.
141 141 instance_write(:file_size, @queued_for_write[:original].size.to_i)

0 comments on commit e645aaf

Please sign in to comment.
Something went wrong with that request. Please try again.