Guest User

Untitled

a guest
May 26th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. def collect_users(id, array)
  2. n = Session.find(:all, :conditions => [ "supervisor = ?", id ])
  3. n.each { |i|
  4. array << collect_users(i.id, array)
  5. }
  6. end
Add Comment
Please, Sign In to add comment