# Attachment\_fu validation error

**URL:** <https://www.ruby-forum.com/t/attachment-fu-validation-error/122110>\
**Category:** Rails\
**Created:** [December 4, 2007, 5:45pm UTC](https://www.ruby-forum.com/t/attachment-fu-validation-error/122110 "2007-12-04T17:45:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![judybsa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/85f322/32.png) [@judybsa](https://www.ruby-forum.com/u/judybsa)\
**Post date:** [December 4, 2007, 5:45pm UTC](https://www.ruby-forum.com/t/attachment-fu-validation-error/122110/1 "2007-12-04T17:45:19Z")

</div>

I’ve installed attachment\_fu and when I try and upload a file, I get  
this validation error:

There were problems with the following fields:

Size is not included in the list

I’ve changed the model to say: :max\_size =\> 2.megabytes, but I still get  
the message. My test file is 721 kb. To keep thing simple, I’m testing  
with an image file.

I’m will be using attachment\_fu to upload documents, so I don’t need  
thumbnails and resizing, correct?
