views:

21

answers:

0

I am working with the attachment_fu plugin for my file uploads, while it does some things very well I am finding it very difficult to customize. One of the problems I am having is that the errors messages attachment_fu produces are not very helpful to the end user. For instance, if you do not specify a file to upload you all of these errors:

Content type is not included in the list Content type can't be blank Size is not included in the list Size can't be blank Filename can't be blank

I have two goals 1. I would like to achieve would be to customize each one of these messages and 2. I would like the model to produce only one error when no file is specified.