carrierwave, document model and uploader