This project is archived and is in readonly mode.

#1642 ✓ committed
Adam Milligan

HasOneThroughAssociation should not be a child of HasManyThroughAssociation

Reported by Adam Milligan | December 27th, 2008 @ 08:16 AM | in 3.0.2

This patch changes the superclass of HasOneThroughAssociation to HasOneAssociation, moves the functionality shared between the two Through associations to a module named ThroughAssociationScope, and removes the special case overloads of the HasManyThroughAssociation methods in HasOneThroughAssociation.

No new tests, since this patch only include refactorings, no new functionality.

Comments and changes to this ticket