I have a model that accepts either a photo or video. It works okay, but I think it's getting caught up on the validations.
For photos, I have this:
has_attached_file :content, styles: { thumb: '275x185#' }
Which works great, but saving something with a video produces:
Validation failed: Content Paperclip::Errors::NotIdentifiedByImageMagickError, Content Paperclip::Errors::NotIdentifiedByImageMagickError
I think this is because it's trying to size the video's dimensions. Is it possible to only define the thumb size for content that is an image, but ignore it when it is a video? Or do I have to make two different fields, one photo one video, and have nil's in my DB?