diff --git a/lib/carrierwave/uploader/processing.rb b/lib/carrierwave/uploader/processing.rb index 573f54447..92702af62 100644 --- a/lib/carrierwave/uploader/processing.rb +++ b/lib/carrierwave/uploader/processing.rb @@ -9,7 +9,7 @@ module Processing class_attribute :processors, :instance_writer => false self.processors = [] - before :cache, :process! + after :cache, :process! end module ClassMethods diff --git a/spec/uploader/callback_spec.rb b/spec/uploader/callback_spec.rb index d9f8b5875..d3f9f736a 100644 --- a/spec/uploader/callback_spec.rb +++ b/spec/uploader/callback_spec.rb @@ -8,8 +8,7 @@ :check_extension_blacklist!, :check_content_type_whitelist!, :check_content_type_blacklist!, - :check_size!, - :process! + :check_size! ] @uploader_class_1 = Class.new(CarrierWave::Uploader::Base)