I want to create models with child models.
As an example, one model Event and submodels OneTimeEvent and
How should I do this?
One possibility would be to use
class Event < Activerecord
class OneTimeEvent < Event
class RecurringEvent < Event
Does this work correctly?
And how/where should I store the special information each type has
(i.e. day_of_month for recurring)?