Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Jul 27, 2009
  1. @h-lame

    Rename internals to be consistent with the published name; parental_c…

    h-lame authored
    …ontrol, not self_control.
  2. @h-lame

    [#2] Support block-style building in has_many

    h-lame authored
    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. @h-lame

    Fixing a typo where I was still referring to the plugin by the origin…

    h-lame authored
    …al name self_control instead of parental_control
  2. @h-lame

    Big reworking of how candidates for recipricolness are found.

    h-lame authored
    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. @h-lame

    If one model is has_manied to multiple other models and they had the …

    h-lame authored
    …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.
Commits on Sep 12, 2008
  1. @h-lame
Commits on Sep 10, 2008
  1. @h-lame

    Fixed typo in README.

    h-lame authored
Commits on Sep 8, 2008
  1. @h-lame

    First commit, pulled (without the anaesthetic of git-svn) from our wo…

    h-lame authored
    …rk svn repo.
    
    It's far from complete, or comprehensively tested.  But we can sort that out over time.
Something went wrong with that request. Please try again.