How would you check if a file is an image? I\'m thinking you could use an method like so:
def image?(file) file.to_s.include?(\".gif\") or file.to_s.includ
imagemagick has a command called identity that handles this - check w/ the paperclip documentation - there's probably a way to handle this from within your RoR app.