# Attachment\_fu\_fixtures problem

**URL:** <https://www.ruby-forum.com/t/attachment-fu-fixtures-problem/175785>\
**Category:** Rails\
**Created:** [September 19, 2009, 7:22pm UTC](https://www.ruby-forum.com/t/attachment-fu-fixtures-problem/175785 "2009-09-19T19:22:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cojones](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/9f8e36/32.png) [@cojones](https://www.ruby-forum.com/u/cojones)\
**Post date:** [September 19, 2009, 7:22pm UTC](https://www.ruby-forum.com/t/attachment-fu-fixtures-problem/175785/1 "2009-09-19T19:22:36Z")

</div>

Hey guys,

I’m using attachment\_fu plugin to upload images. It’s working fine and I  
wanted to add some fixtures for testing and all that. The readme says  
you online need to install the plugin and put "attachment\_file: " into  
the yml files.

The problem is that I get following error:  
Mysql::Error: Unknown column ‘attachment\_file’ in ‘field list’: INSERT  
INTO `photos` (`attachment_file`, `description`) VALUES  
(‘public/images/victoria.jpg’, ‘default’)

Since there’s nothing to do but extract the plugin into the  
vendor/plugins folder I have no idea what to do. Anyone had the same  
problem and can help me with that?
