Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
May 26th, 2018
72
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.22 KB
| None
|
0
0
raw
download
clone
embed
print
report
def collect_users(id, array)
n = []
id.each { |i|
n << Session.find(:all, :conditions => [ "supervisor = ?", i ])
}
n.each { |i|
array << collect_users(i.id, array)
}
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
Gerenciador de Senhas Version 1.0
Python | 4 min ago | 6.77 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 8 min ago | 0.37 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 10 min ago | 0.39 KB
Bash script to update T-Mobile Router Config
Bash | 33 min ago | 3.82 KB
wheat_harvester
Lua | 33 min ago | 1.68 KB
Most Writer B (Novely)
Dart | 55 min ago | 0.29 KB
Popup Box
HTML | 1 hour ago | 3.60 KB
conversão de dinheiro..
Python | 1 hour ago | 0.88 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!