Shopify/batman — pull request #234 by ktusznio (2011-11-15 20:49:32+00:00)
Title: Association proxies

Association accessors will now return proxy objects which subclass the related class. These proxies redefine the `load` to just fetch the association. Proxies also mark themselves as loaded via `set 'proxyLoaded'`.

The association code was also refactored to further simplify it. Most notably, `getAccessor` is now defined on `Batman.Association` and only `hasMany` has its own implementation.