Calendar with different types of event - polymorphism

Hi all,

I have a calendar. The calendar has different kinds of events. Each
event type has additional information so i think i need a new model
for each new event type. eg: a game event has additional oponent and
oponents colors info. Is this best solved via polymorphism where I
create an eventable interface?

Thanks
Stijn

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs