I’m trying to do something which I think is fairly simple, but I’m stuck
syntax. Briefly, I have three classes: users, groups, and
There’s a M2M relationship between users and groups, and a M2M
between groups and blog_entries.
I’ve got my classes defined ok, but in my “list” method for the
only want to list those blog_entries that belong to groups of which the
user is a member. Assuming that the current_user is contained in the
@currentUser object, how can I write a graceful find command that will
return the records as stated above?
Thanks in advance,