# Attachment\_fu

**URL:** <https://www.ruby-forum.com/t/attachment-fu/109853>\
**Category:** Rails\
**Created:** [July 19, 2007, 5:35pm UTC](https://www.ruby-forum.com/t/attachment-fu/109853 "2007-07-19T17:35:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fernando](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/779978/32.png) [@fernando](https://www.ruby-forum.com/u/fernando)\
**Post date:** [July 19, 2007, 5:35pm UTC](https://www.ruby-forum.com/t/attachment-fu/109853/1 "2007-07-19T17:35:09Z")

</div>

Hi,

Does anyone know how to use attachment\_fu to upload a file to a folder  
that is chosen dynamically?  
i know you can use :path\_prefix but this puts all the files in the  
same folder.  
I really want the user to choose which folder to upload the file into  
each time. But I cannot work out how to do it.

Can anyone point me in the right direction?

Cheers,

Tim Fernandez
