dkubb changed the topic of #datamapper to: Datamapper v1.2.0 | Mailing List: http://is.gd/aa9D | Logs: http://is.gd/qWAL7V | DataMapper 2 Renamed to ROM, see #rom-rb for development
<Renich>
I'd like to have users with groups. A group should be able to have many users and a user should be able to belong to many groups
<Renich>
but, when I try Account.first, I don't see the user's groups
<Renich>
ok, groups are the ones that own accounts so I need to get the group first and ask it how many accounts does it have. With this setup, can I ask an Account which groups does it have?
<Renich>
... does it belong to, that is
<Renich>
ok, added has n, memberships and now it works