Mongo mapper model design

Mongo mapper model design
0
#1

I’m using mongo mapper in my rails app and I’m in the process of designing my models. I have a couple of attributes on the schema that can be either plain text, image, or file.

What’s the best way of implementing this with mongo-mapper?