I've got the following quiet common domain model.
As you can see a person can create 0 or many groups, a group being
created by 1 person. A person belongs to 1 or many groups and a group
can contain many people. A can also contain many sub groups.
A simple person class to describe these relationship would be...
class Person < ActiveRecord::Base
obviously this is wrong I can't name both usergroups 'usergroups'. How
do I rename the relationship so I can refer to the two relationships.