I have 3 tables:
* Clients
** Represents a client that will receive events
* Events
** Single Table Inheritance
** Represents events that clients should be aware of
** Fields
*** id
*** client_id
*** type
*** (some other fields specific to each type of event)
* RegisteredEvents
** Types of Events that a Client is registered for
** Fields
*** client_id
*** event_type
*** foreign key to type field in event table
Can I use a has_many through for clients on the events model that uses the event_type as the foreign key?
People succeed in answering Rich Collins's questions 37% of the time (32 successes in 86 attempts).