Practicing complex associations

Hi Matthew,

Thank you, I really enjoyed this week’s video.

Could you recommend any Active Record modeling exercises to further explore complex associations?

Thank you again,



Perhaps there are some well-written examples we could examine? Learning from working code is great.

In this week’s office hours, Matt suggested this Railscast:

(requires Railscasts subscription since this is a revised episode)

The episode is pretty good, and features Comments needed by various models, which Matt said is a common use of polymorphic associations.

@slothbear thank you very much for the follow-up.