This fixes #23 by looking up foreign_type with all applicable ancestor classes (including the model class) that respond to the association. This includes a single test case via an addition to the animal test model that creates an animal <-> animal relationship a la predator/prey.
This fixes #23 by looking up
foreign_type
with all applicable ancestor classes (including the model class) that respond to the association. This includes a single test case via an addition to the animal test model that creates an animal <-> animal relationship a la predator/prey.