i get the instance vs class methods part.

i think what i was missing was that `memberships` was a instance variable that was already scoped as "Membership models where group_id is this group's id".