y8/paperclip-meta — Issue #9: Should be able to disable paperclip-meta via an option
Author: gmcnaughton
Created: 2012-02-08 22:40:52+00:00
State: open

I'm using STI to store info about attachments (images and non-images) in the DB. Because it's STI, the table includes one meta column shared by both classes.

When I upload a non-image, paperclip-meta tries to process it and causes "identify: no decode delegate" warnings in tho logs (Mac OSX Lion, ImageMagick 6.7.4-6).

I would like to be able to disable paperclip-meta for attachments even when a meta column is present in the DB. For instance:

```ruby
class FileAttachment < ActiveRecord::Base
# Don't process non-images...
has_attached_file :attachment, :meta => false
end

class ImageAttachment < FileAttachment
# ...but do process images!
has_attached_file :attachment, :meta => true, :styles => { :thumb => ["100x100>"] }
end
```

Is that possible? Maybe there's a way, I just didn't see it in the docs.