How can I resolve a three-way polymorphic association?
问题 First let me say I am using MySQL (not transactional) and that this can't be changed. Also, I have simplified the tables here for brevity and clarity. In this example a 'Lesson' is comprised of it's internal attributes and an external attributes with it's own attributes 'Readings'. 'Readings' has it's own key dependent attributes and three distinct external attributes (the reading sources). I want to avoid the polymorphic association that arrises here but am unable to wrap my head around it.