Classier solution for file uploads for Rails, Sinatra and others
...CarrierWave also has convenient support for multiple file upload fields. Add a column which can store an array. This could be an array column or a JSON column for example. Your choice depends on what your database supports.