# Multiple Non-Arbitrary File Uploads

**URL:** <https://www.ruby-forum.com/t/multiple-non-arbitrary-file-uploads/91233>\
**Category:** Rails\
**Created:** [April 5, 2007, 9:41pm UTC](https://www.ruby-forum.com/t/multiple-non-arbitrary-file-uploads/91233 "2007-04-05T21:41:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [April 5, 2007, 9:41pm UTC](https://www.ruby-forum.com/t/multiple-non-arbitrary-file-uploads/91233/1 "2007-04-05T21:41:33Z")

</div>

Can anyone point me to a good way to have multiple non-arbitrary file  
uploads on Rails, possibly with a plugin? I came up with my own way  
using a single generic file upload model and single table inheritance,  
but I was wondering if there’s a better way.

By non-arbitrary I mean each file upload has it’s own purpose so I  
must be able to access it individually and it should have it’s own  
validation rules.

Thanks in advance
