…ontrol, not self_control.
…al name self_control instead of parental_control
Having to dig much deeper into rails internals now to know about how associations and their proxies are stored in the model and set them correctly when they are nil. Also we have instance.is_a? instead of simple class equality to allow for STI type stuff going on.
…same association name (and why wouldn't they) the first association to be called would be the only one you could use without causing a type mismatch error because of the caching we did not being specific enough. E.g. Bone.belongs_to :dog Bone.belongs_to :skeleton Dog.has_many :bones Skeleton.has_many :bones If we started with Bone and asked for dog then asked for skeleton, we'd get a mismatch on trying to set a Skeleton into the Dog. We now make sure the reflection name and the instance class are used to cache the found association.
…rk svn repo. It's far from complete, or comprehensively tested. But we can sort that out over time.