# Uploading MP3 files

**URL:** <https://www.ruby-forum.com/t/uploading-mp3-files/139896>\
**Category:** Rails\
**Created:** [June 8, 2008, 8:07pm UTC](https://www.ruby-forum.com/t/uploading-mp3-files/139896 "2008-06-08T20:07:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![visionary](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/13edae/32.png) [@visionary](https://www.ruby-forum.com/u/visionary)\
**Post date:** [June 8, 2008, 8:07pm UTC](https://www.ruby-forum.com/t/uploading-mp3-files/139896/1 "2008-06-08T20:07:15Z")

</div>

I need to create functionality for a personal project which allows me to  
upload and store MP3 or Ogg Vorbis sound files that can later be  
downloaded by a user, however, after looking at a couple of tutorials,  
I’m just as lost and confused as before.  
The major problem I have is that most tutorials talk about uploading  
image files and do it that way, however, I’m not sure what I need to  
change and where to make them compatible with sound files.

Would anyone be able to help point me in the right direction, give me  
some tips or show some example code from a project? I’d really  
appreciate the help.

Thanks.

---

<div class="post-metadata">

**Author:** ![visionary](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/13edae/32.png) [@visionary](https://www.ruby-forum.com/u/visionary)\
**Post date:** [June 8, 2008, 8:16pm UTC](https://www.ruby-forum.com/t/uploading-mp3-files/139896/2 "2008-06-08T20:16:48Z")

</div>

Just use the attachement\_fu plugin. Most of the examples use images  
because the plugin is able to resize thumbnails and such which is only  
relevant to images. You can follow the same tutorials and omit the  
image related stuff.

On Jun 8, 2:07 pm, Krister C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
