# Multiple File Upload

**URL:** <https://www.ruby-forum.com/t/multiple-file-upload/88778>\
**Category:** Rails\
**Created:** [March 14, 2007, 10:00am UTC](https://www.ruby-forum.com/t/multiple-file-upload/88778 "2007-03-14T10:00:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![plewizard](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ce7236/32.png) [@plewizard](https://www.ruby-forum.com/u/plewizard)\
**Post date:** [March 14, 2007, 10:00am UTC](https://www.ruby-forum.com/t/multiple-file-upload/88778/1 "2007-03-14T10:00:57Z")

</div>

I’m looking for a good tutorial to integrate multiple file uploads  
into my forms. Like in Mephisto. I can find very little and have  
been looking into it for days. Can anyone point me in the right  
direction or provide me with a complete example (controller, model,  
view)?

thanks in advance.

---

<div class="post-metadata">

**Author:** ![plewizard](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ce7236/32.png) [@plewizard](https://www.ruby-forum.com/u/plewizard)\
**Post date:** [March 14, 2007, 11:21am UTC](https://www.ruby-forum.com/t/multiple-file-upload/88778/2 "2007-03-14T11:21:40Z")

</div>

plewizard wrote:

> I’m looking for a good tutorial to integrate multiple file uploads  
> into my forms. Like in Mephisto. I can find very little and have  
> been looking into it for days. Can anyone point me in the right  
> direction or provide me with a complete example (controller, model,  
> view)?
> 
> thanks in advance.

Well, I don’t know exactly how to do it in RoR, but I can tell you that  
it will be very easy to do it with Flash 😃

---

<div class="post-metadata">

**Author:** ![plewizard](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ce7236/32.png) [@plewizard](https://www.ruby-forum.com/u/plewizard)\
**Post date:** [March 14, 2007, 4:27pm UTC](https://www.ruby-forum.com/t/multiple-file-upload/88778/3 "2007-03-14T16:27:14Z")

</div>

Mephisto’s source is available… perhaps you could check there. I  
always  
learn a lot by looking at Rick’s code.

---

<div class="post-metadata">

**Author:** ![plewizard](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ce7236/32.png) [@plewizard](https://www.ruby-forum.com/u/plewizard)\
**Post date:** [March 14, 2007, 5:10pm UTC](https://www.ruby-forum.com/t/multiple-file-upload/88778/4 "2007-03-14T17:10:50Z")

</div>

i just wrote up a brief tutorial that should be enough to get on the  
right track.

check it out at [railsgrunt.com](http://railsgrunt.com)

---

<div class="post-metadata">

**Author:** ![plewizard](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ce7236/32.png) [@plewizard](https://www.ruby-forum.com/u/plewizard)\
**Post date:** [March 28, 2007, 4:14am UTC](https://www.ruby-forum.com/t/multiple-file-upload/88778/5 "2007-03-28T04:14:39Z")

</div>

hi plewizard,  
thanks for sharing the tutorial, will definitely be of some help for my  
project. btw, probably the people who referred you to railsgrunt was  
probably me and i am sure i am more of a noob compared to you. i hope  
people do not think of my post as the ‘defacto standard’ cause if thats  
the case, they in trouble.

plewizard wrote:

> so after being thoroughly disappointed in every forum post i’ve ever  
> read and every solution, I looked into mephisto and reread the pickaxe  
> and AWDWR 2nd editions and came up with my own tutorial on multiple  
> file uploads with file field arrays. it borrows heavily from mike  
> clark’s tutorial and downright steals from mephisto.
> 
> check it out.  
> [http://rubyonrailsnotes.blogspot.com/2007/03/multiple-file-uploads-with-attachmentfu.html](http://rubyonrailsnotes.blogspot.com/2007/03/multiple-file-uploads-with-attachmentfu.html)

---

<div class="post-metadata">

**Author:** ![plewizard](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ce7236/32.png) [@plewizard](https://www.ruby-forum.com/u/plewizard)\
**Post date:** [March 28, 2007, 1:08am UTC](https://www.ruby-forum.com/t/multiple-file-upload/88778/6 "2007-03-28T01:08:28Z")

</div>

so after being thoroughly disappointed in every forum post i’ve ever  
read and every solution, I looked into mephisto and reread the pickaxe  
and AWDWR 2nd editions and came up with my own tutorial on multiple  
file uploads with file field arrays. it borrows heavily from mike  
clark’s tutorial and downright steals from mephisto.

check it out.  
[http://rubyonrailsnotes.blogspot.com/2007/03/multiple-file-uploads-with-attachmentfu.html](http://rubyonrailsnotes.blogspot.com/2007/03/multiple-file-uploads-with-attachmentfu.html)
