Ever needed to validate image dimensions after upload? Check out this snipet you can add to your own Paperclip model.