I have the following class hierarchy
Attachment < Image < SpecialImage .
An Attachment should be a plain attachment (anything should be allowed)
where an Image should be an image (obviously ). SpecialImage is a
special Image with additional metadata.
I modeled this using single table inheritance, and am now wondering
about the correct usage of has_attachment in the models.
Should I call has_attachment in all the three model classes? If so, then
with what parameters?
Or should I modify self.attachement_options (the attachment_fu options
hash) in the subclasses?
Thanks for your help,