def process
      self.queue[self.default] = self.file
      begin
        self.processors.each do |processor|
          processor = Attached::Processor.processor(processor)
          self.styles.each do |style, options|
            self.queue[style] = processor.process(self.queue[style] || self.file, options, self)
          end
        end
      rescue Attached::Processor::Error => error
        self.errors << error.message
      end
    end
def process
      self.queue[self.default] = self.file
      begin
        self.processors.each do |processor|
          processor = Attached::Processor.processor(processor)
          self.styles.each do |style, options|
            self.queue[style] = processor.process(self.queue[style] || self.file, options, self)
          end
        end
      rescue Attached::Processor::Error => error
        self.errors << error.message
      end
    end
Helper function for calling processors (will queue default).

 Usage:

   self.process