i’ve used file_column for several projects and love it.
now i need to build an interface so the user can decide what to do with
with a file when it’s being uploaded. if it’s just a file like a pdf,
then just upload it. if it’s an image, let the user select what sizes
he/she wants.
i’ve been reading about single table inheritance and wondering if that
might be a good solution. so you could create subclasses for the model
and have each one contain their own file_column options.
if i did it that way, i wouldn’t be sure how to specify what subclass
handles the file when it’s uploaded.
or maybe there’s another way to handle it altogether. i’m not sure, but
i would like to get any input anyone has.