Forum: Ruby on Rails 100% polymorphism problem, hmm not so sure.

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
59ee7c346d6578714bd6f42a15c8b9f7?d=identicon&s=25 michau (Guest)
on 2007-07-16 19:48
(Received via mailing list)
I have a problem to break down and implement.

At first look it seems, as if it should be done in polymorphic way. I
imagine it as having this "abstract" class model Thing and then many
many many different concrete_thing_types. My doubt is though - I am
not really able to tell now what and how many of those different
concrete_thing_types there will be. There may be "hundreds" of them
and during the application's lifecycle, that set will probably expand.

Any suggestions then?


This topic is locked and can not be replied to.