This looks pretty similar to Nick Small's CPActiveRecord: <a href="http://github.com/nciagra/Cappuccino-Extensions/tree/master/CPActiveRecord/" rel="nofollow">http://github.com/nciagra/Cappuccino-Extensions/tree/master/...</a><p>Was there any code borrowed?