Closed lsylvester closed 8 years ago
If the uploader was mounted using the mount_on option, then it will currently try to read the oid from the wrong attribute.
For example, with the uploader
mount_uploader :file, FileUploader, mount_on: :file_oid
it will try to read the oid from the file column instead of from the file_oid column where it is stored.
file
file_oid
Sorry for the delay. Thanks for the PR :+1:
If the uploader was mounted using the mount_on option, then it will currently try to read the oid from the wrong attribute.
For example, with the uploader
it will try to read the oid from the
file
column instead of from thefile_oid
column where it is stored.