jnicklas/carrierwave — Issue #548: Validating a remote_url image
Author: dkharrat
Created: 2011-12-03 11:48:01+00:00
State: open

It seems that Carrierwave does not translate the exceptions that occur from remote_url images to appropriate model validation errors. Is this by design? If, for example, the model limits image formats to png/jpeg only, a user attempting to upload a gif image should get the same validation error, regardless if it was a local upload or remote upload. In my opinion, Carrierwave should be handling this. I have tens of models that rely on uploading images via a remote url, and it would not be DRY to perform the same validations on the remote URL in the every controller before saving the model. Do you agree?