Switch branches/tags
Nothing to show
Commits on Jul 27, 2009
  1. Rename internals to be consistent with the published name; parental_c…

    h-lame committed Jul 27, 2009
    …ontrol, not self_control.
  2. [#2] Support block-style building in has_many

    h-lame committed Jul 27, 2009
    Pass through any supplied blocks for build and create in has_many associations so that the block-style stuff still works.  Not actually sure that has_one / belongs_to actually support this, so I've not done the same there.
Commits on Nov 11, 2008
  1. Fixing a typo where I was still referring to the plugin by the origin…

    h-lame committed Nov 11, 2008
    …al name self_control instead of parental_control
  2. Big reworking of how candidates for recipricolness are found.

    h-lame committed Nov 11, 2008
    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.
Commits on Sep 29, 2008
  1. If one model is has_manied to multiple other models and they had the …

    h-lame committed Sep 29, 2008
    …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.
    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.
Commits on Sep 12, 2008
Commits on Sep 10, 2008
  1. Fixed typo in README.

    h-lame committed Sep 10, 2008
Commits on Sep 8, 2008
  1. First commit, pulled (without the anaesthetic of git-svn) from our wo…

    h-lame committed Sep 8, 2008
    …rk svn repo.
    It's far from complete, or comprehensively tested.  But we can sort that out over time.