Displaying 1 result from an estimated 1 matches for "find_in_us".
Did you mean:
find_in_ba
2007 Apr 29
1
better nested set and :through
...admins = Group.find_by_name "admins"
admins.users # gives all users in the admins group.
and
admins.all_children # gives me all the groups
I thought the following methods sounded promising, but i get
NoMethodError''s from them:
admins.children.find_all_in_users
admins.children.find_in_users
Perhaps i''m going about this the wrong way or i''m missing a more obvious
solution. Can anyone shed some light on it?
Cheers,
-vince
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are s...