A No Op Processor

77 views
Skip to first unread message

Ken Collins

unread,
Nov 23, 2009, 9:40:39 AM11/23/09
to papercli...@googlegroups.com

I made this process over the weekend and wanted to know if anyone would be interested in seeing this in core paperclip as a processor option? If so I can fork and add tests for it? Perhaps an interface like :processors => false would automatically do this? Or is that or something similar the case already? :)

module Paperclip  
  class Noop < Processor
    
    def make
      file
    end

  end
end


Ken Collins

unread,
Nov 23, 2009, 12:16:15 PM11/23/09
to papercli...@googlegroups.com

I created a ticket if anyone is interested.


--
Individuals over processes. Interactions over tools.
 
Agile Rails training from thoughtbot, the makers of Paperclip, Clearance, Shoulda, & Factory Girl:
http://thoughtbot.com/services/training
 
The Paperclip group:
http://groups.google.com/group/paperclip-plugin
 
To post to this group, send email to
papercli...@googlegroups.com
 
To unsubscribe from this group, send email to
paperclip-plug...@googlegroups.com

Reply all
Reply to author
Forward
0 new messages