Using has_many, acts_as_list together

Hello,

I’m having a little trouble wrapping my head around using has_many
and acts_as_list together. I want have a table of products linked to
a table of images using has_many. I would like these images to use
acts_as_list so that I can order them and re-order them easily. The
wrinkle is that I would like to have a table of image_types to
categorize these images and have the acts_as_list respect each
image_type.

I could just have independent tables of images for each image_type,
but that would not be dynamic :).

Is there a way to make this happen?

Nicholas P. Mueller