Self referential many to many join?

I am trying to create active record schema that includes self referential many to many.

Example.

I have models Group and Person.

It would be worth your while to check out the schema used in OpenACS (http://openacs.org/)