FileColumn - version and not image files


#1

Hi

I have this filecolumn:

file_column :file, :magick => { :versions => { :large => ‘756x567>’ } }

Does anybody have a solution to make this also accept files that aren’t
images? Now this makes filecolumn return an error of “File invalid
image” if the file isn’t an image.

Would be nice if it, when the file is invalid image, just uploads the
file as filecoulm does when you don’t specify magick.

Cheers,
Mattias