drop down list many relations


I need to create a drop down list.

The problem is.

User has many groups using user_group

Access_Level has many groups using access_group

In the drop down list i need to get all the access levels that are in the groups that my user is related.

How can i do that?


Can this wiki help?


With that i can create a method to do that…

Thanks a lot.