Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Feb 21st, 2018
71
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
ids = [1,2,3]
ids.instance_eval do
def prepare_for_create
map!{|id| [:person_id=>id] }
end
end
#p ids.prepare_for_create
UnsentFamilyNews.create(ids.prepare_for_create)
Add Comment
Please,
Sign In
to add comment
Public Pastes
Turtle Dig If Has Space Program
Lua | 24 min ago | 0.37 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 57 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 1 hour ago | 0.38 KB
Recusivly echo files with a specific extensio...
Bash | 2 hours ago | 0.21 KB
Untitled
C++ | 2 hours ago | 47.02 KB
Swimbot Error
Python | 2 hours ago | 0.68 KB
VIM: Window and Tab binds
VIM | 2 hours ago | 5.53 KB
Vercel fix reload with Vite
JSON | 3 hours ago | 0.07 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!