# Attachment\_fu won't display content-type validation errors

**URL:** <https://www.ruby-forum.com/t/attachment-fu-wont-display-content-type-validation-errors/105542>\
**Category:** Rails\
**Created:** [May 30, 2007, 10:34pm UTC](https://www.ruby-forum.com/t/attachment-fu-wont-display-content-type-validation-errors/105542 "2007-05-30T22:34:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sebastien](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f475e1/32.png) [@Sebastien](https://www.ruby-forum.com/u/Sebastien)\
**Post date:** [May 30, 2007, 10:34pm UTC](https://www.ruby-forum.com/t/attachment-fu-wont-display-content-type-validation-errors/105542/1 "2007-05-30T22:34:57Z")

</div>

I’m getting this weird behavior from attachment\_fu… the error messages  
displayed with \<%= error\_messages\_for ‘picture’ %\> won’t work for the  
“content\_type” field. It works for the filename and the size. And when I  
try to upload a file type that is invalid, the file get rejected like it  
is supposed to but I don’t see the error message at the top.

Am I supposed to implement it myself?

Thx in advance.
