# Prevent attachment processing in Attachment\_Fu

**URL:** <https://www.ruby-forum.com/t/prevent-attachment-processing-in-attachment-fu/140826>\
**Category:** Rails\
**Created:** [June 19, 2008, 12:12am UTC](https://www.ruby-forum.com/t/prevent-attachment-processing-in-attachment-fu/140826 "2008-06-19T00:12:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![misleb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e5b9ba/32.png) [@misleb](https://www.ruby-forum.com/u/misleb)\
**Post date:** [June 19, 2008, 12:12am UTC](https://www.ruby-forum.com/t/prevent-attachment-processing-in-attachment-fu/140826/1 "2008-06-19T00:12:02Z")

</div>

I was wondering if there is some way to make attachments optional with  
attachment\_fu. Currently if I try to run model.update\_attributes with no  
uploaded\_data I’ll get an error. There must be some way to tell  
attachment foo not to try to process an attachment if no data is  
provided.
