I have this declaration model: http://pastie.caboo.se/83840
What I want to do:
get all users that not belong to the declaration.
I could do a loop. First get all the users. I know who belong to the
declaration, so I also know who does not.
But this seems like a lot of looping.
Is there an easy way I can get all those users that NOT belong to the
declaration? I looked into using joins in my find, but I don’t know how
to use that in this context.
Thanks in advance!