I'm trying to model the classic example of a association model and link objects. The image below sets forth a class diagram showing association classes and Object diagram showing link objects.
The image shows a part an object diagram representing a student, Mary Jones, and the courses she has registered for in the Fall 2010 term: MKT350 and MIS385. Corresponding to an association class in a class diagram, link objects are present in an object diagram. In this example, there are two link objects (shown as :Registration) for the Registration association class, capturing the two course registrations.
Registration is the Association Class :Registration is the link objects
My question is how would I model something like this in Rails /ActiveRecord